matlab怎么画系统函数?怎么画系统变量对其导数的图像?>> y = dsolve('D2y+2*0*pi*Dy+pi^2*y=0','y(0)=1,Dy(0)=2','x');>> x = 0:0.1 :10>> plot(x,y)Error using plotConversion to double from sym is not possible.y现在是系统变量,我

来源:学生作业帮助网 编辑:作业帮 时间:2024/07/29 04:00:59
matlab怎么画系统函数?怎么画系统变量对其导数的图像?>> y = dsolve('D2y+2*0*pi*Dy+pi^2*y=0','y(0)=1,Dy(0)=2','x');>> x = 0:0.1 :10>> plot(x,y)Error using plotConversion to double from sym is not possible.y现在是系统变量,我
xj@_ev1hM5 &23!lѕ"XM " 6}'iߢXϮaνeΙzzLzrN>N:X%: 4Z=^= 41r:5RVI e*$N/4Yl„.W:bpRMȠ&K9(")>Acv,C& M6(B'h߂ 'W|>W l'b؊,r0\^*9u4<9p_fI>q,>NNh:YۺZt1~/

matlab怎么画系统函数?怎么画系统变量对其导数的图像?>> y = dsolve('D2y+2*0*pi*Dy+pi^2*y=0','y(0)=1,Dy(0)=2','x');>> x = 0:0.1 :10>> plot(x,y)Error using plotConversion to double from sym is not possible.y现在是系统变量,我
matlab怎么画系统函数?怎么画系统变量对其导数的图像?
>> y = dsolve('D2y+2*0*pi*Dy+pi^2*y=0','y(0)=1,Dy(0)=2','x');
>> x = 0:0.1 :10
>> plot(x,y)
Error using plot
Conversion to double from sym is not possible.
y现在是系统变量,我该怎么画y的图像?
我还想画y'对y的图像,应该用什么命令?

matlab怎么画系统函数?怎么画系统变量对其导数的图像?>> y = dsolve('D2y+2*0*pi*Dy+pi^2*y=0','y(0)=1,Dy(0)=2','x');>> x = 0:0.1 :10>> plot(x,y)Error using plotConversion to double from sym is not possible.y现在是系统变量,我
ya = dsolve('D2y+2*0*pi*Dy+pi^2*y=0','y(0)=1,Dy(0)=2','x')
x = 0:0.1 :10;
y=subs(ya);
figure(1)
plot(x,y)
y1=subs(diff(ya));
figure(2)
plot(y,y1)