matlab问题:plot Conversion to double from sym is not possible,这是我的代码,x=0:1:11;y=dsolve('Dy-0.08*y=0','y(0)=80423','x');subplot(2,2,1);ezplot(y,[0,30]);subplot(2,2,2);z=double(x)plot(z,y)为什么用plot就出现上述问题啊,是不

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/11 12:38:02
matlab问题:plot Conversion to double from sym is not possible,这是我的代码,x=0:1:11;y=dsolve('Dy-0.08*y=0','y(0)=80423','x');subplot(2,2,1);ezplot(y,[0,30]);subplot(2,2,2);z=double(x)plot(z,y)为什么用plot就出现上述问题啊,是不

matlab问题:plot Conversion to double from sym is not possible,这是我的代码,x=0:1:11;y=dsolve('Dy-0.08*y=0','y(0)=80423','x');subplot(2,2,1);ezplot(y,[0,30]);subplot(2,2,2);z=double(x)plot(z,y)为什么用plot就出现上述问题啊,是不
matlab问题:plot Conversion to double from sym is not possible,
这是我的代码,
x=0:1:11;
y=dsolve('Dy-0.08*y=0','y(0)=80423','x');
subplot(2,2,1);
ezplot(y,[0,30]);
subplot(2,2,2);
z=double(x)
plot(z,y)
为什么用plot就出现上述问题啊,是不是我的数据类型不对,

matlab问题:plot Conversion to double from sym is not possible,这是我的代码,x=0:1:11;y=dsolve('Dy-0.08*y=0','y(0)=80423','x');subplot(2,2,1);ezplot(y,[0,30]);subplot(2,2,2);z=double(x)plot(z,y)为什么用plot就出现上述问题啊,是不
y =

80423*exp((2*x)/25)
y还是表达式.肯定不能直接plot