Matlab中subs函数的使用syms x w b t;x=dsolve('D2x+2*b*Dx+w^2*x=0','Dx(0)=4,x(0)=0');dx=diff(x,t);w=2;b=0.1;x1=subs(x);dx1=subs(dx);t=0:0.1:100;xt=subs(x1,t);dxt=subs(dx1,t);subplot(221);plot(t,xt);subplot(222); subplot(222);plot(xt,dxt)其中四
来源:学生作业帮助网 编辑:作业帮 时间:2024/08/07 14:00:01
xMo@Q8.ZǑJsspl^7B"! UͩT&Nʉib8#Yڙy_4 vI= q8$,#^@7̹ʦ$<4
A