Answered

How can I plot 3D contour plot for (x, y, z) Cartesian grid with values at each cell?

Download free Paraview (visualization tool) from https://www.paraview.org/download/. It will cost you some time to deal with VTK...

How can I plot 3D contour plot for (x, y, z) Cartesian grid with values at each cell?

Download free Paraview (visualization tool) from https://www.paraview.org/download/. It will cost you some time to deal with VTK...

5 days ago | 0

Question

Different grid lines color in MATLAB

Is it possible to change color of every single grid line? Not only for all X or Y lines. I only know it is possible to change a...

5 months ago | 1 answer | 0

Question

Which is the fastest way to plot several 2D contours on one 3D plot?

I need to plot several 2D rectangle contours on one 3D plot like this: To plot these contours I have more than 200000 dots wi...

8 months ago | 0 answers | 0

Question

How to plot 3D contour in real-time for the shortest time?

I need to plot 3D contour in real-time layer-by-layer. I got it already, that MATLAB does not have a standard function for 3D co...

9 months ago | 0 answers | 0

Answered

How to conveniently plot iteration progress during a 2D optimization?

First, you should create your own function for plotting a 3D contour during the optimization process: function stop = custom_pl...

How to conveniently plot iteration progress during a 2D optimization?

First, you should create your own function for plotting a 3D contour during the optimization process: function stop = custom_pl...

10 months ago | 0

| accepted

Question

How do I bind a specific value to a color using colormap?

I'm plotting a 2D contour plot using contourf(X, Y, Z). How can I create a custom colormap, where certain color would be bound t...

10 months ago | 2 answers | 0

Question

How to calculate a derivative of function numerically?

I have a continuous function of two variables: f = @(x,y) x.^2 + (y-1).^2 How do I calculate a derivative of this functi...

1 year ago | 2 answers | 0

Answered

Error in matlab?

Are you sure, that these equations aren't wrong? For example, you can divide 3rd equation by i. The system is nonlinear and MATL...

Error in matlab?

Are you sure, that these equations aren't wrong? For example, you can divide 3rd equation by i. The system is nonlinear and MATL...

1 year ago | 0

Question

How to add variables to the Plot Fcn?

I created a custom Plot Function for 'fminsearch': opts = optimset('Display','iter','TolFun',1e-5,'MaxIter',100,'PlotFcns',...

1 year ago | 2 answers | 0

Question

How to read a text file having strings and numeric data?

I have a 'txt' file with strings and numbers like this: PATH VARIABLE SUMMARY ...

1 year ago | 1 answer | 0

Answered

Summing several function values

Well, I can't get it, but integral(@(x)ft(x,k),0,pi./2) -> integral(@(x)ft(x,k),0,pi./2,'ArrayValued',true) ...

Summing several function values

Well, I can't get it, but integral(@(x)ft(x,k),0,pi./2) -> integral(@(x)ft(x,k),0,pi./2,'ArrayValued',true) ...

1 year ago | 0

| accepted

Question

Summing several function values

Hello everyone I'm trying to use 'sum' to sum up several function values like this: ft = @(x,k) sin(k.*x); at = @(k) ...

1 year ago | 2 answers | 0

Question

Error declaring and summing array of functions - Cell contents assignment to a non-cell array object

I need to sum four functions with common data like this: TE1 = [180 310 455 600; 0.18 0.25 0.34 0.41]; S = [16.6 19.2 21...

2 years ago | 1 answer | 0