confused abt z and z(-1) in matlab
5 ビュー (過去 30 日間)
古いコメントを表示
Lets suppose i am having one transfer function as
H(z)= 1-2z/(1+3z)
and the other is
G(z) = 1-2z(-1)/ [1+3z(-1)] //Now inverse is used
If i want to take the transfer fucntion in matlab for further pole zero map, how i will tell matlab that it is z in my TF or z(-1)
2 件のコメント
Walter Roberson
2011 年 11 月 13 日
Is that really z multiplied by negative one? Or is it z raised to the power of negative 1, z^(-1), which is 1/z ?
採用された回答
Naz
2011 年 11 月 13 日
You can take your H(z) and divide by z. So you will have: z^(-1)-2 / z^(-1)+3. Now you can create two vectors containing zeros and poles:
B=[-2 1];
A=[3 1];
zplane(B,A)
If you have function with (all) negative powers, than the last coefficient is for the most negative power and the first coeff is a constant. In case of all positive coeff. you just inverse the order (constant is last).
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!