劣弧专题

matlab画三维空间劣弧,matlab 三维空间画图总结

matlab 三维画图总结 1.画函数的三维图,如:Z(X,Y)=2*X.*exp(-X.^2-Y.^2)+1; close all; [X,Y]=meshgrid(-2:0.5:2,-2:0.5:2);%生成坐标轴 Z=2*X.*exp(-X.^2-Y.^2)+1;%Z是X,Y的函数 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%