I forgot my password.
Don't have an account?
Hi This is the commad in wrote in matlab: >> c=tf([1 2],[2 4 1]) Transfer function: s + 2 --------------- 2 s^2 + 4 s + 1 >> zpkdata(c) ans = [-2] it shows the zero but not the poles and the gain, why?
you must forget to convert it into zero poles and gain model!
try this command:
c=tf([1 2],[2 4 1]); zpk(c);
zpkdata(c)
or simple try.
[z,p,k]=zpkdata(c)
I just wanted to add that if you do a 'v' option so the call looks like this:
[Z,P,K] = zpkdata(c,'v')
the P is returned as a vector instead of a cell array. The other is perfect too.
very good.