我有连续时间传递函数的分子和分母。我想分别获得等效离散时间传递函数的分子和分母。
我的代码如下:
SAMPLING_PERIOD = 0.01;
% Hc(s) = Bc(s)/Ac(s) = 25 / (s^2 + 3s + 25);
Bc = [25];
Ac = [1, 3, 25];
Hc = tf(Bc, Ac);
Hd = c2d(Hc, SAMPLING_PERIOD);
[Bd, Ad] = inverse_tf(Hd); % I need a function like this
% My aim is to obtain Ad and Bd; where,
% Bd: Numerator of the corresponding discrete time system
% Ad: Denominator of the corresponding discrete time system
我该怎么做呢?