Borrar filtros
Borrar filtros

quick question for pade function

1 visualización (últimos 30 días)
Amir Hamzah UTeM
Amir Hamzah UTeM el 18 de Ag. de 2011
[num den]=pade(100,1)
num =
-1.0000 0.0200
den =
1.0000 0.0200
>> num
num =
-1.0000 0.0200
which one is poles and which one is residues?

Respuesta aceptada

Paulo Silva
Paulo Silva el 18 de Ag. de 2011
[num den]=pade(100,1)
num= -s+0.02 -> one zero at s=0.02
den= s+0.02 -> one pole at s=-0.02
You can see the zeros and poles like this pzmap(tf(num,den)) , or the step response step(tf(num,den)), tip: change the order from 1 to 2 and see what happens to the step response.
From the documentation of the pade function:
The row vectors num and den contain the numerator and denominator coefficients in descending powers of s. Both are Nth-order polynomials.
  2 comentarios
Amir Hamzah UTeM
Amir Hamzah UTeM el 18 de Ag. de 2011
thanks Paulo,
so pole = -0.02 right? then what about residues?how can i get them?
Paulo Silva
Paulo Silva el 19 de Ag. de 2011
Yes it's at s=-0.02
[r,p,k] = residue(num,den)
%[r,p,k] = residue(b,a) finds the residues, poles,
%and direct term of a partial fraction expansion
%of the ratio of two polynomials

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by