필터 지우기
필터 지우기

Magnitude Frequency response plot

조회 수: 2 (최근 30일)
Boom
Boom 2016년 8월 7일
답변: Madhura 2023년 8월 7일
Given
H(z)=(0.6-z^-1)(1+2z^-1)/(3-z^1)(2-(jz^-1),
how can code and plot the magnitude response and phase?
And how do I find H(2)?
  댓글 수: 1
Star Strider
Star Strider 2016년 8월 7일
Go back to your tf call, post it and all other relevant code, and tell us what ‘j’ is. (It cannot be the imaginary operator, because ‘z’ already includes it.)

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

답변 (2개)

Damien
Damien 2016년 10월 3일
Hello Boom,
You have to firstly define your variables z and j. if z is going from 1 to 10, and j is 1 then:
z=1:10;
j=1;
H(z)=(0.6-z.^-1).*(1+2*z.^-1)./(3-z.^1).*(2-(j*z.^-1));
%
plot(H)
H(2)
When you multiply vectors or matrices, you have to use scalar (.* or ./).

Madhura
Madhura 2023년 8월 7일
H(z)=1/z-1
find magnitude

카테고리

Help CenterFile Exchange에서 Spectral Measurements에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by