Pole Zero plot is giving wrong plot

조회 수: 7 (최근 30일)
Anindya Guha
Anindya Guha 2011년 10월 17일
Hi,
I've used 'pzmap' to create ploe zero plot of a transfer function. According to the transfer function used, all the poles of it should be on the imaginary axis. But this is not the case in the output.
code:- >> num=[3]; >> den=[1 0 10 0 9 0]; >> sys=tf(num,den)
Transfer function: 3 ------------------ s^5 + 10 s^3 + 9 s
>> pzmap(sys)

채택된 답변

Wayne King
Wayne King 2011년 10월 17일
Hi, The poles are all on the imaginary axis, look at the scale of your real axis, it is 10^{-16}
If you enter:
[p,z] = pzmap(sys);
You'll see the poles are:
0
0.0000 + 3.0000i
0.0000 - 3.0000i
-0.0000 + 1.0000i
-0.0000 - 1.0000i

추가 답변 (1개)

Honglei Chen
Honglei Chen 2011년 10월 17일
If you look at the ticks of the real axes, you can see that the scale is 10e-16. So practically it is on the imaginary axis. If you want to see a better picture, you can do the following to rescale the axes
axis([-1 1 -5 5])
HTH

카테고리

Help CenterFile Exchange에서 Uncertainty Analysis에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by