Determine the frequency response
Show older comments
Its given:
ℎ(n)={(0.95)^n cos(2𝜋0.066n) + (0.75)^n cos(2𝜋0.172n) + (0.6)^n cos(2𝜋0.241n)} 𝑢(n)
Find: |H(e^jw)| if w = 0, w = pi/2, w = pi.
Draw the graph of |H(e^jw)| if 0 < w < pi
Also find the phase spectrum.
5 Comments
Marina Petani
on 5 Jun 2022
Paul
on 5 Jun 2022
If you show your code, you're more likely to get help.
If you are trying to use a DTFT-based approximation, you don't need to write your own function. freqz can be used to compute the DTFT of a finite duration sequence. Of course, h[n] is infinite duration, but I assume your DTFT function is assuming that there is some value N for which h[n] = 0 for n > N.
Marina Petani
on 5 Jun 2022
Answers (0)
Categories
Find more on MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!