matlab 画图出错 Conversion to double from sym is not possible.syms x;y=-2.1813e-005*(x^5)+0.0013202*(x^4)-0.02357*(x^3)+0.086555*(x^2)+0.028076*x+22.711;dy=diff(y);x=0:.1;30;plot(x,dy)

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/04 15:42:15
matlab 画图出错 Conversion to double from sym is not possible.syms x;y=-2.1813e-005*(x^5)+0.0013202*(x^4)-0.02357*(x^3)+0.086555*(x^2)+0.028076*x+22.711;dy=diff(y);x=0:.1;30;plot(x,dy)

matlab 画图出错 Conversion to double from sym is not possible.syms x;y=-2.1813e-005*(x^5)+0.0013202*(x^4)-0.02357*(x^3)+0.086555*(x^2)+0.028076*x+22.711;dy=diff(y);x=0:.1;30;plot(x,dy)
matlab 画图出错 Conversion to double from sym is not possible.
syms x;
y=-2.1813e-005*(x^5)+0.0013202*(x^4)-0.02357*(x^3)+0.086555*(x^2)+0.028076*x+22.711;
dy=diff(y);
x=0:.1;30;
plot(x,dy)

matlab 画图出错 Conversion to double from sym is not possible.syms x;y=-2.1813e-005*(x^5)+0.0013202*(x^4)-0.02357*(x^3)+0.086555*(x^2)+0.028076*x+22.711;dy=diff(y);x=0:.1;30;plot(x,dy)
syms x;
y=-2.1813e-005*(x^5)+0.0013202*(x^4)-0.02357*(x^3)+0.086555*(x^2)+0.028076*x+22.711;
dy=diff(y);
ezplot(dy,[0 30])