现代控制理论实验 用 MATLAB分析状态空间模型

订装

> In ss.canon at 85 a = x1 x2 x3 x4 x1 0 0 0 0 x2 0 -1 0 0 x3 0 0 -1 0 x4 0 0 0 -3 b = u1 x1 -1 x2 6.369e+015 x3 6.369e+015 x4 2.297 c = x1 x2 x3 x4 y1 2 -1.414 1.414 -0.1451 5

订装

d = u1 y1 0 Continuous-time model. >> stf1=tf(csys) Transfer function: -0.6262 s^2 - 5.212 s - 6 ------------------------- s^4 + 5 s^3 + 7 s^2 + 3 s 2. num=[6];den=[1 6 11 6];stf=tf(num,den) Transfer function: 6 ---------------------- s^3 + 6 s^2 + 11 s + 6 >> sss=ss(stf) a = x1 x2 x3 6

订装

x1 -6 -2.75 -1.5 x2 4 0 0 x3 0 1 0 b = u1 x1 1 x2 0 x3 0 c = x1 x2 x3 y1 0 0 1.5 d = u1 y1 0 Continuous-time model. >> [q,d]=eig(a);q,p=inv(q);csys=ss2ss(sss,p) 7

订装

??? Undefined function or variable 'a'. >> [q,d]=eig(a);q,p=inv(q);csys=ss2ss(stf,p ??? [q,d]=eig(a);q,p=inv(q);csys=ss2ss(stf,p | Error: Incomplete or misformed expression or statement. >> [q,d]=eig(a);q,p=inv(q);csys=ss2ss(stf,p) ??? Undefined function or variable 'a'. >> a =[-6 -2.75 -1.5;4 0 0;0 1 0];b =[1;0;0];c = [ 0 0 1.5];d =0; >> sss1=ss(a,b,c,d);[q,d]=eig(a);q,p=inv(q);csys=ss2ss(sss1,p) q = -0.5797 0.4082 0.1741 0.7730 -0.8165 -0.6963 -0.2577 0.4082 0.6963 a = x1 x2 x3 8

联系客服:779662525#qq.com(#替换为@)