How to cancel same pole-zero pair for Z-function ?

3 ビュー (過去 30 日間)
tan zhang
tan zhang 2019 年 7 月 26 日
コメント済み: Star Strider 2019 年 8 月 5 日
With matlab, How to cancel the same pole-zero pair for Z-function , for example : minreal for s-function?

採用された回答

Star Strider
Star Strider 2019 年 7 月 26 日
The minreal function works with discrete systems.
Example —
n = [1 -9 26 -24];
d = [1 -12 41 -42];
tfs = tf(n,d);
figure
bode(tfs)
[ps,zs] = pzmap(tfs)
rs = minreal(tfs)
tfz = tf(n, d, 0.1)
figure
bode(tfz)
[pz1,zz1] = pzmap(tfz)
rz = minreal(tfz)
For the continuous system:
rs =
s - 4
-----
s - 7
and for the discrete system:
rz =
z - 4
-----
z - 7
In both, it cancels the poles-zeros at 2 and 3.
  4 件のコメント
tan zhang
tan zhang 2019 年 8 月 5 日
編集済み: tan zhang 2019 年 8 月 5 日
Thank you !
I have get your thought ,but select appropriate tolerance for minreal isn't easy in reality!
Thanks again!
The Learner
Star Strider
Star Strider 2019 年 8 月 5 日
My pleasure!
If my Answer helped you solve your problem, please Accept it!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by