matlab程序:syms x y z; x=-50:0.1:50; y=-50:0.1:50; z=(4-2.1*x.^2+1/3*x.^4)*x.^2+(-4+4*y.^2)*y.^2报错:z=(4-2.1*x.^2+1/3*x.^4)*x.^2+(-4+4*y.^2)*y.^2+x.*y.;|Error:Incomplete or misformed expression or statement.不是分号用错成中文了,
来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/22 21:50:03
matlab程序:syms x y z; x=-50:0.1:50; y=-50:0.1:50; z=(4-2.1*x.^2+1/3*x.^4)*x.^2+(-4+4*y.^2)*y.^2报错:z=(4-2.1*x.^2+1/3*x.^4)*x.^2+(-4+4*y.^2)*y.^2+x.*y.;|Error:Incomplete or misformed expression or statement.不是分号用错成中文了,
matlab程序:syms x y z; x=-50:0.1:50; y=-50:0.1:50; z=(4-2.1*x.^2+1/3*x.^4)*x.^2+(-4+4*y.^2)*y.^2
报错:
z=(4-2.1*x.^2+1/3*x.^4)*x.^2+(-4+4*y.^2)*y.^2+x.*y.;
|
Error:Incomplete or misformed expression or statement.
不是分号用错成中文了,
matlab程序:syms x y z; x=-50:0.1:50; y=-50:0.1:50; z=(4-2.1*x.^2+1/3*x.^4)*x.^2+(-4+4*y.^2)*y.^2报错:z=(4-2.1*x.^2+1/3*x.^4)*x.^2+(-4+4*y.^2)*y.^2+x.*y.;|Error:Incomplete or misformed expression or statement.不是分号用错成中文了,
clear;clc
x=-50:0.1:50; % 不用syms定义
y=-50:0.1:50;
z=(4-2.1*x.^2+1/3*x.^4).*x.^2+(-4+4*y.^2).*y.^2; % x.^2和y.^2 前用 .*