函数代码如下 function Ea=Ea(k) syms t s y=0.8sin(2t)cos(5t)-cos(0.3t)+sin(8t)+sin(t)cos(3t)-cos(6t)sin(0.2t)+0.3sin(0.5t); Y = laplace(y); Go=0.4(13.2s)/((5.9s+1)(0.66s+1)); Fha=s^3/((s^2+2*k(1)k(2)s+k(2)^2)(s+1)); Fla=s^2/(s^2+2k(3)k(4)s+k(4)^2); Ea=(YFha+YFla)Go-YGo; end