Answered

Matlab 2019a installation error

Contact your sales representative to get detailed understanding about your license terms. If you don’t know who your sales repre...

Matlab 2019a installation error

Contact your sales representative to get detailed understanding about your license terms. If you don’t know who your sales repre...

10 months ago | 0

Answered

Why do I see the error "Something unexpected occurred" when I try to install Simscape Multibody add-on?

For the errors as such you can refer to the explanation given for the similar error, which can resolve it.

Why do I see the error "Something unexpected occurred" when I try to install Simscape Multibody add-on?

For the errors as such you can refer to the explanation given for the similar error, which can resolve it.

10 months ago | 0

Answered

Simulation Data Inspector - hide box around selected plot

As of now there is no way to achieve it, have escalated the issue to the concerned development team.

Simulation Data Inspector - hide box around selected plot

As of now there is no way to achieve it, have escalated the issue to the concerned development team.

10 months ago | 0

| accepted

Answered

matlab code for qpsk digital modulation in mimo

I understand your question as, you need to develop MIMO system using QPSK as the modulation type, which doesn’t deviate from the...

matlab code for qpsk digital modulation in mimo

I understand your question as, you need to develop MIMO system using QPSK as the modulation type, which doesn’t deviate from the...

10 months ago | 0

Answered

Why did my matlab skript become super slow

Hi Christian, Since the script is not attached couldn’t give you apt solution, Few possibilities might be due to other proce...

Why did my matlab skript become super slow

Hi Christian, Since the script is not attached couldn’t give you apt solution, Few possibilities might be due to other proce...

11 months ago | 0

Answered

Coefficient and Formatting Help

You may look into the documentation here and there are sample scripts to execute differential equations at the end.

Coefficient and Formatting Help

You may look into the documentation here and there are sample scripts to execute differential equations at the end.

1 year ago | 0

Answered

Why is fmincon slower in comparison to other solvers?

That might be one of the reasons, however you may try Nondefault option of Algorithm as ‘sqp’, which can be sometimes faster. M...

Why is fmincon slower in comparison to other solvers?

That might be one of the reasons, however you may try Nondefault option of Algorithm as ‘sqp’, which can be sometimes faster. M...

1 year ago | 0

Answered

how can i prelocate arrays

Pre allocating arrays may not solve your problem, as the error msg states you are indexing array ”u” using either negative integ...

how can i prelocate arrays

Pre allocating arrays may not solve your problem, as the error msg states you are indexing array ”u” using either negative integ...

1 year ago | 0

Answered

Signal Processing Align Error

Hi Sandeep: You need not check delay to use alignsignals since it doesn’t make any difference by changing order of argument...

Signal Processing Align Error

Hi Sandeep: You need not check delay to use alignsignals since it doesn’t make any difference by changing order of argument...

1 year ago | 0

Answered

plotting offset between data

Hi Boutros, If you mean to plot the deviation of the data between all possible pair this is how you can realize the solution f...

plotting offset between data

Hi Boutros, If you mean to plot the deviation of the data between all possible pair this is how you can realize the solution f...

1 year ago | 1

| accepted

Answered

Matlab cannot identify the mex function

You are trying to use mex file generated for mac OS (as I see in the link which you provided) which doesn’t work on platforms ot...

Matlab cannot identify the mex function

You are trying to use mex file generated for mac OS (as I see in the link which you provided) which doesn’t work on platforms ot...

1 year ago | 0

Answered

how to plot contours of a function defined on a 3d mesh. Plotting has to be done on the mesh not under the mesh as shown in following figure

You may use contour3 function to plot contours at different heights, look in to this doc for further information.

how to plot contours of a function defined on a 3d mesh. Plotting has to be done on the mesh not under the mesh as shown in following figure

You may use contour3 function to plot contours at different heights, look in to this doc for further information.

1 year ago | 0

Answered

Building MEX file error: struct exceeding 2GB

Similar problem is addressed here, https://www.mathworks.com/matlabcentral/answers/73332-alternative-to-clear-or-clearvars-in-s...

Building MEX file error: struct exceeding 2GB

Similar problem is addressed here, https://www.mathworks.com/matlabcentral/answers/73332-alternative-to-clear-or-clearvars-in-s...

1 year ago | 0

Answered

How to change time interval value when using instfreq function in Matlab ?

You can customize the time interval using Frequency Resolution, to quote an example To explain from your case fs = 16; t = (...

How to change time interval value when using instfreq function in Matlab ?

You can customize the time interval using Frequency Resolution, to quote an example To explain from your case fs = 16; t = (...

1 year ago | 1

| accepted

Answered

Design K using bode plot

For understanding how to design K you may refer to the documentation at https://www.mathworks.com/help/control/ref/margin.html ...

Design K using bode plot

For understanding how to design K you may refer to the documentation at https://www.mathworks.com/help/control/ref/margin.html ...

1 year ago | 0

Answered

Using interp2 with pcolor and loop.

I see that you have set of coordinates (X,Y) and (X_ERA5,Y_ERA5), you can use interp2 to get 2-D gridded Vq = interp2(X,Y,V,Xq...

Using interp2 with pcolor and loop.

I see that you have set of coordinates (X,Y) and (X_ERA5,Y_ERA5), you can use interp2 to get 2-D gridded Vq = interp2(X,Y,V,Xq...

1 year ago | 0

Answered

surface from scatter 3 plot

[xq,yq] = meshgrid(-2:.2:2, -2:.2:2); vq = griddata(x,y,v,xq,yq); %(x,y,v) being your original data for plotting points mesh(...

surface from scatter 3 plot

[xq,yq] = meshgrid(-2:.2:2, -2:.2:2); vq = griddata(x,y,v,xq,yq); %(x,y,v) being your original data for plotting points mesh(...

1 year ago | 0

| accepted

Answered

Loop for forward difference finite method

I went through your code and I see that you need to swap the arguments “g” and “h” in the equation inside the nested “for” loop ...

Loop for forward difference finite method

I went through your code and I see that you need to swap the arguments “g” and “h” in the equation inside the nested “for” loop ...

1 year ago | 0

| accepted

Answered

Combine ode and pde equations in Matlab to solve a thermal-mechanical coupled problem

You may refer to the documentation attached on PDE and ODE equations of MATLAB. PDE Equations: https://www.mathworks.com/help/m...

Combine ode and pde equations in Matlab to solve a thermal-mechanical coupled problem

You may refer to the documentation attached on PDE and ODE equations of MATLAB. PDE Equations: https://www.mathworks.com/help/m...

1 year ago | 0

Answered

Too many output argument

fimplicit3(@(x,y,z) sin(x).*cos(y) + sin(y).*cos(z) + sin(z).*cos(x)) Hi, This function doesn’t show any error and gives ...

Too many output argument

fimplicit3(@(x,y,z) sin(x).*cos(y) + sin(y).*cos(z) + sin(z).*cos(x)) Hi, This function doesn’t show any error and gives ...

1 year ago | 0

Answered

Bootstrapping a square matrix

To bootstrap square matrix to get confidence intervals you can use the function Ci = bootci(nboot,bootfun,your_square_matrix)...

Bootstrapping a square matrix

To bootstrap square matrix to get confidence intervals you can use the function Ci = bootci(nboot,bootfun,your_square_matrix)...

1 year ago | 0

Answered

Error in a for loop

Hi, I see that you get the error in 3rd line in the for loop not in the of 4rth line as you mentioned, I think your use case c...

Error in a for loop

Hi, I see that you get the error in 3rd line in the for loop not in the of 4rth line as you mentioned, I think your use case c...

1 year ago | 0

Answered

How to find values in one vector that don't have corresponding values (in the same row) in another

Hi Emily, Please first find the indices of the matrix with control1 values as NaN using the following command: indices =...

How to find values in one vector that don't have corresponding values (in the same row) in another

Hi Emily, Please first find the indices of the matrix with control1 values as NaN using the following command: indices =...

1 year ago | 0