pzmap(H) pole and zeros switched?

3 次查看(过去 30 天)
Ale Crb
Ale Crb 2016-4-1
% Characteristic Polynomial a(s) = a0*s^n + a1*s^(n-1) + ... + an-1*s + an
as = [a0 a1 a2 a3]; d = 1;
a0 = 1; a1 = 1; a2 = 1; a3 = 1;
r = roots(as)
A = tf(as,d)
[p,z] = pzmap(A)
pzmap(A)
please check the coherency, thanks

回答(1 个)

Jeevan Joishi
Jeevan Joishi 2016-4-5
For a given equation say A(s)/B(s), the pole are those occurrences where the equation evaluates to Infinity, and the zeros are basically the roots of the equation.
In your case, the equation is: a(s) = s^3 + s^2 + s + 1.
Only occurrences where the equation a(s) tends to Infinity is when 's' is itself Infinite and hence MATLAB does not give you a specific pole. Zeros happen when a(s) evaluates to 0 which is the case with -1,+i,-i.
MATLAB's output are as expected. Leave a comment with your expected output.

类别

Help CenterFile Exchange 中查找有关 Mathematics and Optimization 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by