matlab中Warning:Matrix is singular to working precision.应该怎么解决,绘制三维图,syms x yx=0:0.05:2;y=-2:0.1:2;[X,Y]=meshgrid(x,y);f=sqrt(1+X.^2+2*X*cos(Y+2*pi/3)/sqrt(1+X.^2+2*X*cos(Y)));surf(X,Y,f);我想绘制三维图形
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/15 23:24:03
matlab中Warning:Matrix is singular to working precision.应该怎么解决,绘制三维图,syms x yx=0:0.05:2;y=-2:0.1:2;[X,Y]=meshgrid(x,y);f=sqrt(1+X.^2+2*X*cos(Y+2*pi/3)/sqrt(1+X.^2+2*X*cos(Y)));surf(X,Y,f);我想绘制三维图形
matlab中Warning:Matrix is singular to working precision.应该怎么解决,绘制三维图,
syms x y
x=0:0.05:2;
y=-2:0.1:2;
[X,Y]=meshgrid(x,y);
f=sqrt(1+X.^2+2*X*cos(Y+2*pi/3)/sqrt(1+X.^2+2*X*cos(Y)));
surf(X,Y,f);
我想绘制三维图形
matlab中Warning:Matrix is singular to working precision.应该怎么解决,绘制三维图,syms x yx=0:0.05:2;y=-2:0.1:2;[X,Y]=meshgrid(x,y);f=sqrt(1+X.^2+2*X*cos(Y+2*pi/3)/sqrt(1+X.^2+2*X*cos(Y)));surf(X,Y,f);我想绘制三维图形
x=0:0.05:2;
y=-2:0.1:2;
[X,Y]=meshgrid(x,y);
f=sqrt(1+X.^2+2*X.*cos(Y+2*pi/3)./sqrt(1+X.^2+2*X.*cos(Y))); % 点乘、点除
surf(X,Y,f);