Hi, I'm an Applications Support Engineer at Mathworks.

My areas of interest are signal processing and communications. I've also spent a little while on reinforcement learning, machine learning and deep learning.

DISCLAIMER: Any ideas or opinions posted here are my own and in no way reflect that of MathWorks.

Answered

How to sit a fixed value of k with an array of θ values, or a fixed value of θ with an array of k values?

A simple way of checking whether your conditions are met would be by using the modified code given below: flag = 0; while ~fla...

How to sit a fixed value of k with an array of θ values, or a fixed value of θ with an array of k values?

A simple way of checking whether your conditions are met would be by using the modified code given below: flag = 0; while ~fla...

alrededor de 1 mes ago | 0

Answered

What's meaning of dicom-dict.txt file 4th column "1-n"?

The fourth column represents Value Multiplicity. Check the following link for more details about Value Multiplicity: http://dico...

What's meaning of dicom-dict.txt file 4th column "1-n"?

The fourth column represents Value Multiplicity. Check the following link for more details about Value Multiplicity: http://dico...

alrededor de 1 mes ago | 0

| accepted

Answered

How can i connect the '.' points of the given figure. i don't want to connect '*' with any point?

Try using the following code to plot: %% Plot lw = 2; % LineWidth ms = 15; % MarkerSize figure xlim([-0.2 1.2]) ylim([...

How can i connect the '.' points of the given figure. i don't want to connect '*' with any point?

Try using the following code to plot: %% Plot lw = 2; % LineWidth ms = 15; % MarkerSize figure xlim([-0.2 1.2]) ylim([...

alrededor de 1 mes ago | 0

| accepted

Answered

My quiver plot seems to go flat when I am plotting a coupled ode.

I believe, while trying to compute dx and dy, you intended to find the elementwise product using the matrices of x and y. Try th...

My quiver plot seems to go flat when I am plotting a coupled ode.

I believe, while trying to compute dx and dy, you intended to find the elementwise product using the matrices of x and y. Try th...

alrededor de 1 mes ago | 0

Answered

Predict future values of a PRNN

Explanation for the output you’re getting: Your patternnet is learning a mapping/relationship between the inputs and the t...

Predict future values of a PRNN

Explanation for the output you’re getting: Your patternnet is learning a mapping/relationship between the inputs and the t...

alrededor de 1 mes ago | 0

| accepted

Answered

Reset Terminal States in Grid World example using RL Toolbox

There are a couple in different ways in which custom environments can be defined in MATLAB. Have a look at https://www.mathworks...

Reset Terminal States in Grid World example using RL Toolbox

There are a couple in different ways in which custom environments can be defined in MATLAB. Have a look at https://www.mathworks...

alrededor de 2 meses ago | 0

Answered

reset function of reinforcement learning?

Yes, I believe you're right. Thanks for pointing this out.

reset function of reinforcement learning?

Yes, I believe you're right. Thanks for pointing this out.

alrededor de 2 meses ago | 0

Answered

sequence learning using LSTM

Have a look at the example here: https://www.mathworks.com/help/deeplearning/ref/nnet.cnn.layer.lstmlayer.html#d117e90134 Alth...

sequence learning using LSTM

Have a look at the example here: https://www.mathworks.com/help/deeplearning/ref/nnet.cnn.layer.lstmlayer.html#d117e90134 Alth...

alrededor de 2 meses ago | 1

| accepted

Answered

how make 3d plotting

Please have a look at the code below. I assume when you say the ball should fall to the ground, it comes back to the same ini...

how make 3d plotting

Please have a look at the code below. I assume when you say the ball should fall to the ground, it comes back to the same ini...

2 meses ago | 0

Answered

Fixed point tool conversion

You can convert a particular subsystem to Fixed Point by selecting it under System Under Design while preparing the system. Chec...

Fixed point tool conversion

You can convert a particular subsystem to Fixed Point by selecting it under System Under Design while preparing the system. Chec...

2 meses ago | 1

Answered

Error" 'lyap' requires control system toolbox""

The Control System Toolbox is a piece of software that can be purchased along with MATLAB. This toolbox contains functions and a...

Error" 'lyap' requires control system toolbox""

The Control System Toolbox is a piece of software that can be purchased along with MATLAB. This toolbox contains functions and a...

2 meses ago | 0

Answered

correlation window range code

Check out the findpeak function as mentioned in the comments above. You can use multiple Name-Value pairs to suit your use cas...

correlation window range code

Check out the findpeak function as mentioned in the comments above. You can use multiple Name-Value pairs to suit your use cas...

2 meses ago | 0

Answered

"Example: Define Custom Deep Learning Layer with Learnable Parameters" doesn't work

Thanks for pointing this out. Check out the complete file by running the following command: edit(fullfile(matlabroot,'examples...

"Example: Define Custom Deep Learning Layer with Learnable Parameters" doesn't work

Thanks for pointing this out. Check out the complete file by running the following command: edit(fullfile(matlabroot,'examples...

2 meses ago | 0

| accepted

Answered

Getting hatchfill to properly display a patch legend

I presume you’re using the hatchfill function from File Exchange. Internally, it calls the line function to create the hatch ...

Getting hatchfill to properly display a patch legend

I presume you’re using the hatchfill function from File Exchange. Internally, it calls the line function to create the hatch ...

3 meses ago | 0

Answered

PDF of paretotail distribution

Since the object returned by the paretotails is of Piecewise Distribution type, you can directly use the pdf function to query t...

PDF of paretotail distribution

Since the object returned by the paretotails is of Piecewise Distribution type, you can directly use the pdf function to query t...

3 meses ago | 0

| accepted

Answered

how to reverse drive ego vehicle in driving scenario designer app.?

It is not currently possible to reverse the direction of motion of ego vehicle in Driving Scenario Designer app. This might be i...

how to reverse drive ego vehicle in driving scenario designer app.?

It is not currently possible to reverse the direction of motion of ego vehicle in Driving Scenario Designer app. This might be i...

3 meses ago | 0

| accepted

Answered

finding the distance traveled before speed is reduced to a certain velocity

The original equation from your question is . Rearranging the terms would give . We would need to integrate the equation abo...

finding the distance traveled before speed is reduced to a certain velocity

The original equation from your question is . Rearranging the terms would give . We would need to integrate the equation abo...

4 meses ago | 1

| accepted

Answered

I need help with a Triple Integral

Try using the following code: fun = @(x,y,z) y; % y is r zmin = @(u,v) sqrt(2-(v.^2)/20)+12; % z zmax = @(u,v) 17...

I need help with a Triple Integral

Try using the following code: fun = @(x,y,z) y; % y is r zmin = @(u,v) sqrt(2-(v.^2)/20)+12; % z zmax = @(u,v) 17...

4 meses ago | 1

Answered

I want to transform an trapez into a square (fitgeotrans)

The fitgeotrans function transforms the control point pairs in the movingPoints argument to the control point pairs in the fixed...

I want to transform an trapez into a square (fitgeotrans)

The fitgeotrans function transforms the control point pairs in the movingPoints argument to the control point pairs in the fixed...

4 meses ago | 1

Answered

T-test cutoff

Try adding the following lines before plotting the values: tstatMod = tstat; tstatMod(tstat<=2.32) = NaN; And then modify ...

T-test cutoff

Try adding the following lines before plotting the values: tstatMod = tstat; tstatMod(tstat<=2.32) = NaN; And then modify ...

4 meses ago | 0

Answered

Summing with multiple variables

Try replacing the appropriate line of code with the following: Phi=sum(Am.*cos(Bm.*x2).*exp(-lambdam*t),2); The sum function...

Summing with multiple variables

Try replacing the appropriate line of code with the following: Phi=sum(Am.*cos(Bm.*x2).*exp(-lambdam*t),2); The sum function...

4 meses ago | 0

Answered

Indefinite Integration of a function

The output from the integration stays the same and remains unsolved because MATLAB is unable to find a closed form expression fo...

Indefinite Integration of a function

The output from the integration stays the same and remains unsolved because MATLAB is unable to find a closed form expression fo...

4 meses ago | 0

Answered

Create arbitrary decision tree without training data?

Have a look at Stateflow to implement flow charts. Here are a couple links to get you started: https://www.mathworks.com/hel...

Create arbitrary decision tree without training data?

Have a look at Stateflow to implement flow charts. Here are a couple links to get you started: https://www.mathworks.com/hel...

4 meses ago | 1

Answered

How to use ranksum with splitapply?

The splitapply function applies the function mentioned as an argument to each group. For the ranksum function we would need to p...

How to use ranksum with splitapply?

The splitapply function applies the function mentioned as an argument to each group. For the ranksum function we would need to p...

4 meses ago | 0

Answered

How to create a connecting model transfer function out of multiple transfer function?

Have a look at https://www.mathworks.com/help/control/ug/conversion-between-model-types.html#f3-1039600 It would help to conv...

How to create a connecting model transfer function out of multiple transfer function?

Have a look at https://www.mathworks.com/help/control/ug/conversion-between-model-types.html#f3-1039600 It would help to conv...

5 meses ago | 0

Answered

Using a variable with fwrite and next line

Consider replacing the appropriate line of code with the following: fline = strjoin(walks,','); fline = strjoin({fline,''},'...

Using a variable with fwrite and next line

Consider replacing the appropriate line of code with the following: fline = strjoin(walks,','); fline = strjoin({fline,''},'...

5 meses ago | 0

Answered

Need help for mathematics problem.Signals and Systems and Newton method.

Consider modifying the following code for the question related to sampling: fy=1; %frequency in Hz wy=2*pi*fy; %signal frequ...

Need help for mathematics problem.Signals and Systems and Newton method.

Consider modifying the following code for the question related to sampling: fy=1; %frequency in Hz wy=2*pi*fy; %signal frequ...

5 meses ago | 0

Answered

Coding noise cancellation in matlab

Consider using either of the following syntaxes: ha=dsp.LMSFilter('Length',256,'StepSize',mu); ha=dsp.LMSFilter(256,'StepSiz...

Coding noise cancellation in matlab

Consider using either of the following syntaxes: ha=dsp.LMSFilter('Length',256,'StepSize',mu); ha=dsp.LMSFilter(256,'StepSiz...

5 meses ago | 0

Answered

Table values as input to a function

The desired expression can be evaluated in two ways. One of them uses symbolic math while the other avoids symbolic math altoget...

Table values as input to a function

The desired expression can be evaluated in two ways. One of them uses symbolic math while the other avoids symbolic math altoget...

5 meses ago | 0

Answered

the fsurf produce incorrect plotting?

The output by fsurf in the example given is being plotted for P in the range of 298 – 500 and T in the range of 10^(-10) – 10. T...

the fsurf produce incorrect plotting?

The output by fsurf in the example given is being plotted for P in the range of 298 – 500 and T in the range of 10^(-10) – 10. T...

5 meses ago | 0

| accepted