matlab 画三维图z=(40/81*y+40/81)/y^2-(40/81*y+40/81)/y^3+(55/486*y+55/486)/y^4+14/81/y^3*(y+1)^2-7/81/y^4*(y+1)^2+7/243/y^4*(y+1)^3-92/9/y^2-1208/243/y^3-23/36/y^4+3800/243/y+311/486/x^4*(x+1)-34/27/x^4*(x+1)^2+152/243/x^4*(x+1)^3-1/162/x^4+10/x*

来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/16 01:45:37
matlab画三维图z=(40/81*y+40/81)/y^2-(40/81*y+40/81)/y^3+(55/486*y+55/486)/y^4+14/81/y^3*(y+1)^2-7/81/y^4

matlab 画三维图z=(40/81*y+40/81)/y^2-(40/81*y+40/81)/y^3+(55/486*y+55/486)/y^4+14/81/y^3*(y+1)^2-7/81/y^4*(y+1)^2+7/243/y^4*(y+1)^3-92/9/y^2-1208/243/y^3-23/36/y^4+3800/243/y+311/486/x^4*(x+1)-34/27/x^4*(x+1)^2+152/243/x^4*(x+1)^3-1/162/x^4+10/x*
matlab 画三维图
z=(40/81*y+40/81)/y^2-(40/81*y+40/81)/y^3+(55/486*y+55/486)/y^4+14/81/y^3*(y+1)^2-7/81/y^4*(y+1)^2+7/243/y^4*(y+1)^3-92/9/y^2-1208/243/y^3-23/36/y^4+3800/243/y+311/486/x^4*(x+1)-34/27/x^4*(x+1)^2+152/243/x^4*(x+1)^3-1/162/x^4+10/x*(1/9/x^2*(x+1)^2-(1/9*x+1/9)/x^2)+5/y*(4/9*y+2/9/y*(y+1)^2-(2/9*y+2/9)/y+1/27/y^2*(y+1)^3-1/18/y^2*(y+1)^2+1/54/y^2*(y+1))-4/27/y^2*(y+1)+(4/27*y+4/27)/y^3-(11/324*y+11/324)/y^4
其中x,y,属于整数.画出它们的3D图来,可以设置m,n属于【1 20】
我想看:(x,y)的变化对z的影响

matlab 画三维图z=(40/81*y+40/81)/y^2-(40/81*y+40/81)/y^3+(55/486*y+55/486)/y^4+14/81/y^3*(y+1)^2-7/81/y^4*(y+1)^2+7/243/y^4*(y+1)^3-92/9/y^2-1208/243/y^3-23/36/y^4+3800/243/y+311/486/x^4*(x+1)-34/27/x^4*(x+1)^2+152/243/x^4*(x+1)^3-1/162/x^4+10/x*
程序给你你自己观察吧.
for i=1:20
for j=1:20
x=i;
y=j;
z=(40/81*y+40/81)/y^2-(40/81*y+40/81)/y^3+(55/486*y+55/486)/y^4+14/81/y^3*(y+1)^2-7/81/y^4*(y+1)^2+7/243/y^4*(y+1)^3-92/9/y^2-1208/243/y^3-23/36/y^4+3800/243/y+311/486/x^4*(x+1)-34/27/x^4*(x+1)^2+152/243/x^4*(x+1)^3-1/162/x^4+10/x*(1/9/x^2*(x+1)^2-(1/9*x+1/9)/x^2)+5/y*(4/9*y+2/9/y*(y+1)^2-(2/9*y+2/9)/y+1/27/y^2*(y+1)^3-1/18/y^2*(y+1)^2+1/54/y^2*(y+1))-4/27/y^2*(y+1)+(4/27*y+4/27)/y^3-(11/324*y+11/324)/y^4;
a(i,j)=z;
end
end
surf(a)