Step Response
如果傳遞函數的分子和分母都是已知的,那麼我們可以通過tf命令來定義傳遞函數:
sys = tf(num,den)
num和den分別是傳遞函數的分子和分母系數,使用step函數來求出響應曲線:
step(sys)
或者:
step(num,den)
EXAMPLE
>> num = [25];
>> den = [1 4 25];
>> G = tf(num,den)
G =
25
--------------
s^2 + 4 s + 25
Continuous-time transfer function.
>> step(G)
或者使用命令:
>> num = [25];
>> den = [1 4 25];
>> step(num,den)
得到相同的曲線: