%Meshgrid command
%This is working fine.
[f,N]=meshgrid(1:2,400:1100);t=8; D=10;F= 1.807068 - (0.045290*t) -(0.042802*D) -(0.000136*N) -(0.160279*f)+ (0.000008*t.*N)+(0.000278*N.*f)+(0.001046*t.*t)+(0.001946*D.*D)+(1.448602*f.*f);mesh(f,N,F);%but this not working. All I am changing is putting decimal values of "f"
[f,N]=meshgrid(0.1:0.2,400:1100);t=8; D=10;F= 1.807068 - (0.045290*t) -(0.042802*D) -(0.000136*N) -(0.160279*f)+ (0.000008*t.*N)+(0.000278*N.*f)+(0.001046*t.*t)+(0.001946*D.*D)+(1.448602*f.*f);mesh(f,N,F);
MATLAB: Is Meshgrid Command not working with decimal values
3d plotsmeshgridplotting
Related Question
- Vector not produced missing some ‘.’
- This code only plot for last value of r1, how to plot for all values of r1
- Can anybody help me point out why I cant display x(result) when I call the function
- Issue with data format when using textscan()
- .* and * give me different answer
- Evaluate Function at different data points from vectors
Best Answer