How to write the matlab codes for the following transfer function

1 回表示 (過去 30 日間)
phoenix
phoenix 2018 年 8 月 3 日
編集済み: Star Strider 2018 年 8 月 3 日
T(z)=(5-G(z)*z^-5)/(1-5*G(z)*z^-5);
where G(z) is a separate transfer function in Z domain.

回答 (1 件)

Aquatris
Aquatris 2018 年 8 月 3 日
編集済み: Aquatris 2018 年 8 月 3 日
Assuming G(z) is a SISO(single input-single output) system, here is the code;
z = tf('z');
G = z/(z+1);
T = minreal(5-G*z^-5)/(1-5*G*z^-5);
You need to specify the sample time of the system by simply modifying the code;
z = tf('z',dt)

カテゴリ

Help Center および File ExchangeState-Space Control Design and Estimation についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by