求助MATLAB的绘图问题
fplot(y=(((0.1225-x.^2)^2+0.0004*x.^2)/(((0.1225-x.^2)*(1-x.^2)-0.3062*x.^2-0.0013*x.^2)^2+(0.021*x.-0.1262*x.^3)^2)))/(1/2),)??? fplot(y=(((0.1225-x.^2)^2+0.0004*x.^2)/(((0.1225-x.^2)*(1-x.^2)-0.3062*x.^2-0.0013*x.^2)^2+(0.021*x.-0.1262*x.^3)^2)))/(1/2),)
|
Error: The expression to the left of the equals sign is not a valid target for an assignment.
我刚学MATLAB ,想用它画一个X,Y 关系的二维图。可是怎么做都出现错误。求大侠指点。感激不尽啦
回复 1 # TDF 的帖子
fplot(@(x) (((0.1225-x.^2)^2+0.0004*x.^2)/(((0.1225-x.^2)*(1-x.^2)-0.3062*x.^2-0.0013*x.^2)^2+(0.021*x-0.1262*x.^3)^2)/(1/2)),)
谢谢您。
页:
[1]