1

連続時間伝達関数の分子と分母があります。同等の離散時間伝達関数の分子と分母を別々に取得したい。

私のコードは以下の通りです:

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

どうすればよいですか?

4

1 に答える 1

2

tfdata次のように、分子と分母の係数を取得するために使用できます。

[Bd, Ad] = tfdata(Hd);

戻り値Bdとの順序に注意してくださいAd

于 2012-05-22T16:30:13.927 に答える