求三元函数matlab作图代码刚接触matlab,对于三元函数的曲面图有点无从下手……函数如下:C(x,y,z)=((50(1+0.0001x)^0.5)/(0.0484*pi*x^2))*exp(-(y^2)*(1+0.0001x))/(0.0968x^2))*{exp(-(z-80)^2/(0.0968x^2))+exp(-(z+80)^2/(0.096

来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/27 02:48:07
求三元函数matlab作图代码刚接触matlab,对于三元函数的曲面图有点无从下手……函数如下:C(x,y,z)=((50(1+0.0001x)^0.5)/(0.0484*pi*x^2))*exp(-

求三元函数matlab作图代码刚接触matlab,对于三元函数的曲面图有点无从下手……函数如下:C(x,y,z)=((50(1+0.0001x)^0.5)/(0.0484*pi*x^2))*exp(-(y^2)*(1+0.0001x))/(0.0968x^2))*{exp(-(z-80)^2/(0.0968x^2))+exp(-(z+80)^2/(0.096
求三元函数matlab作图代码
刚接触matlab,对于三元函数的曲面图有点无从下手……
函数如下:
C(x,y,z)=((50(1+0.0001x)^0.5)/(0.0484*pi*x^2))*exp(-(y^2)*(1+0.0001x))/(0.0968x^2))*{exp(-(z-80)^2/(0.0968x^2))+exp(-(z+80)^2/(0.0968x^2))},是从高斯三维正态分布函数模型中得到的
最好经过试验,有截图更好,

求三元函数matlab作图代码刚接触matlab,对于三元函数的曲面图有点无从下手……函数如下:C(x,y,z)=((50(1+0.0001x)^0.5)/(0.0484*pi*x^2))*exp(-(y^2)*(1+0.0001x))/(0.0968x^2))*{exp(-(z-80)^2/(0.0968x^2))+exp(-(z+80)^2/(0.096
试一下这个:
syms x y z
[x,y,z] = meshgrid(-2:0.2:2,-2:0.25:2,-2:0.16:2);
v=((50.*(1+0.0001.*x).^0.5)./(0.0484.*pi.*x.^2)).*exp(-(y.^2).*(1+0.0001.*x))./(0.0968.*x.^2).*(exp(-(z-80).^2./(0.0968.*x.^2))+exp(-(z+80).^2./(0.0968.*x.^2)));
slice(x,y,z,v,[-1.2 0.8 2],2,[-2 -0.2])

得到

 
范围自己改