syms s t x0 tao phi phi0;
A =[01;-2-3];
I =[10;01];
E = s * I - A;
C =det(E);
D =collect(inv(E));
phi0 =ilaplace(D);
x0 =[1;0];
x = phi0 * x0;
线性非齐次状态方程的解
syms s t x0 x tao phi phi0;
A =[01;-2-3];
I =[10;01];
B =[0;1];
E = s * I - A;
C =det(E);
D =collect(invE));
phi0 =ilaplace(D);
x0 =[1;0];
x1 = phi0 * x0;
phi =subs(phi0,'t',(t-tao));
F = phi * B *1;
x2 =int(F,tao,0,t);
x =collect(x1 + x2)