
How would I plot the frequency response of the Hilbert Transform?
조회 수: 9 (최근 30일)
이전 댓글 표시
I have tried using the hilbert command with no luck. I eventually went to just typing in the actual behavior of the frequency response and now I can get plots but they are far from correct I believe. I am not very proficient in MATLAB yet so any help would be appreciated. Thank you.
w1=[0:pi]; w2=[-pi:0]; N=[10 20 40 80]; H1=-j*exp(-j.*N.*w1) H2=j*exp(-j.*N.*w2)
H1i=imag(H1) H1r=real(H1) H2i=imag(H2) H2r=real(H2)
plot(H1i,H1r) hold on plot(H2i,H2r)
댓글 수: 0
답변 (1개)
Rahul Goel
2015년 10월 30일
Hi Myke,
Try the following, it worked for me:
t = 0:1/1024:pi;
x = exp(-j*60*t);
y = hilbert(x);
plot(t,imag(y))
hold on;
plot(t,real(y))
It generated a plot which looked like following:

Hope this helps.
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!