[问题] syms运算后的化简

楼主: sleeeve (赴美留学的日子...)   2015-01-06 15:56:53
EX: syms s
A = [1 2;3 4];
B = [1;2];
C = [1 2];
D = 4;
G = C*(sI - A)*B + D
假设这样,求出的G很丑(G为矩阵)
EX:
((71564974346085408.960505906617533*(562949953421312.0*s + 1206515380482223.0)
)/(1622592768....
该如何化简成简单的分式呢 EX: [5/s-2 7/s-1; 8/s-3 9/s-1] 类似这样
我爬了文,可以用vpa,所以我改成vpa(G),可是好像还是一样
感谢
作者: windg (风)   2015-01-06 23:25:00
simple(G)tf(ss(A,B,C,D))

Links booklink

Contact Us: admin [ a t ] ucptt.com