问题描述:
给位懂matlab的朋友们急求z=0.8-(0.3x^2+x+y^2+y-0.05)*(0.5+y)/(0.55+y+y^2)的三维图.
其中x取值范围-0.1到0.1y取值范围0到0.我每次出现这样错误
[x,y]=meshgrid(-0.1:0.1,0:0.3);
>> z=0.8-(x+y^2+y-0.05+0.3*x^2)*(0.5+y)/(0.55+y+y^2);
>> surf(x,y,z);
Warning:Z must not be a scalar or vector,not rendering surface.
其中x取值范围-0.1到0.1y取值范围0到0.我每次出现这样错误
[x,y]=meshgrid(-0.1:0.1,0:0.3);
>> z=0.8-(x+y^2+y-0.05+0.3*x^2)*(0.5+y)/(0.55+y+y^2);
>> surf(x,y,z);
Warning:Z must not be a scalar or vector,not rendering surface.
问题解答:
我来补答展开全文阅读