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

4 views (last 30 days)
With matlab, How to cancel the same pole-zero pair for Z-function , for example : minreal for s-function?

Accepted Answer

Star Strider
Star Strider on 26 Jul 2019
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 Comments
tan zhang
tan zhang on 5 Aug 2019
Edited: tan zhang on 5 Aug 2019
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 on 5 Aug 2019
My pleasure!
If my Answer helped you solve your problem, please Accept it!

Sign in to comment.

More Answers (0)

Categories

Find more on MATLAB in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!