confused abt z and z(-1) in matlab

조회 수: 7 (최근 30일)
moonman
moonman 2011년 11월 13일
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
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 ?
moonman
moonman 2011년 11월 13일
It is z raise to power -1
yes 1/z...
H(z) contaiins all z
G(z) contains all z(inverse power)

댓글을 달려면 로그인하십시오.

채택된 답변

Naz
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).

추가 답변 (2개)

moonman
moonman 2011년 11월 13일
Is there any way i can directly use H(z) for calculations
  댓글 수: 2
Walter Roberson
Walter Roberson 2011년 11월 13일
Not without the symbolic toolbox.
Naz
Naz 2011년 11월 13일
I dont really understand what you are trying to do. Please, be more specific.

댓글을 달려면 로그인하십시오.


moonman
moonman 2011년 11월 13일
I just want to ask that some times we are having transfer function which is expressed in z and some times it is expressed in z(inverse) format
how to handle both I am sure both cannot be handled by one command of matlab like tf is used with z(inverse)
  댓글 수: 1
Naz
Naz 2011년 11월 13일
See my answer, I just updated it.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Matched Filter and Ambiguity Function에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by