Respondida
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...

más de 6 años hace | 0

Respondida
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 = (...

más de 6 años hace | 1

| aceptada

Respondida
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 ...

más de 6 años hace | 0

Respondida
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...

más de 6 años hace | 0

Respondida
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(...

más de 6 años hace | 1

| aceptada

Respondida
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 ...

más de 6 años hace | 0

| aceptada

Respondida
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...

más de 6 años hace | 0

Respondida
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 ...

más de 6 años hace | 0

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

más de 6 años hace | 0

Respondida
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...

más de 6 años hace | 0

Respondida
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 =...

más de 6 años hace | 0