matlab一个小问题 Error:Incomplete or misformed expression or statement.[x,y,z]=meshgrid(linspace(-1.5,1.5,50));isosurface=(x,y,z,((sqrt(x.^2 + y.^2)+50).* 0.776+z.*0.64).^2 - 328 * (0.776 * z - 0.64 * sqrt(x.^2 + y.^2) + 50),0);axis equalisosurf

来源:学生作业帮助网 编辑:作业帮 时间:2024/04/29 00:38:18
matlab一个小问题 Error:Incomplete or misformed expression or statement.[x,y,z]=meshgrid(linspace(-1.5,1.5,50));isosurface=(x,y,z,((sqrt(x.^2 + y.^2)+50).* 0.776+z.*0.64).^2 - 328 * (0.776 * z - 0.64 * sqrt(x.^2 + y.^2) + 50),0);axis equalisosurf

matlab一个小问题 Error:Incomplete or misformed expression or statement.[x,y,z]=meshgrid(linspace(-1.5,1.5,50));isosurface=(x,y,z,((sqrt(x.^2 + y.^2)+50).* 0.776+z.*0.64).^2 - 328 * (0.776 * z - 0.64 * sqrt(x.^2 + y.^2) + 50),0);axis equalisosurf
matlab一个小问题 Error:Incomplete or misformed expression or statement.
[x,y,z]=meshgrid(linspace(-1.5,1.5,50));
isosurface=(x,y,z,((sqrt(x.^2 + y.^2)+50).* 0.776+z.*0.64).^2 - 328 * (0.776 * z - 0.64 * sqrt(x.^2 + y.^2) + 50),0);
axis equal
isosurface=(x,y,z,((sqrt(x.^2 + y.^2)+50).* 0.776+z.*0.64).^2 - 328 * (0.776 * z - 0.64 * sqrt(x.^2 + y.^2) + 50),0);
|
Error:Incomplete or misformed expression or statement.

matlab一个小问题 Error:Incomplete or misformed expression or statement.[x,y,z]=meshgrid(linspace(-1.5,1.5,50));isosurface=(x,y,z,((sqrt(x.^2 + y.^2)+50).* 0.776+z.*0.64).^2 - 328 * (0.776 * z - 0.64 * sqrt(x.^2 + y.^2) + 50),0);axis equalisosurf
表达式有错.while后面应该是逻辑数进行与运算,不知道你后面一串是什么数.为啥用分号?
应该是while中的那个分号有问题.