Why is Meshgrid Command not working with decimal values?
Mostra commenti meno recenti
%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);
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Graphics Performance in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!