字数超过了。。。先用第一个段算出来x\y\z三个根,然后代入第二段syms s l u w d t s=solve('2*s^3+2*(l+u-1*i*w)*s^2+(2*l*u+2*w^2+t*l-d*u)*s+(2*i*l*u*w-2*w^2*(l+u)-2*i*w^3+(t-d)*l*u-1*i*w*(t*l-d*u))','s')
syms s l u w d t l=t; u=0.1*t; d=t/3; w=0.01; t=1; x= y= z=
n=2*(l+s-1*i*w)*(u+s-1*i*w)/((s-x)*(s-y)*(s-z)); v = ilaplace(n,t,s); C1=abs(v); C2=abs(v^2); figure(1)