1个回答
推荐于2018-02-27
展开全部
直接用ss和tf函数就可以了,例如:
>> G=tf([1 2],[1 2 3])
Transfer function:
s + 2
-------------
s^2 + 2 s + 3
>> G1=ss(G)
a =
x1 x2
x1 -2 -1.5
x2 2 0
b =
u1
x1 2
x2 0
c =
x1 x2
y1 0.5 0.5
d =
u1
y1 0
Continuous-time model.
>> G2=tf(G1)
Transfer function:
s + 2
-------------
s^2 + 2 s + 3
>> whos
Name Size Bytes Class Attributes
G 1x1 2494 tf
G1 1x1 2385 ss
G2 1x1 2494 tf
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询