How to calculate and plot impulse response?

12 views (last 30 days)
Hello,
I need to calculate and plot an impulse response using the following:
ℎ(𝑛) at n = −10,...,100.
How would I go about this? also a quick note, I am a complete novice with MatLab so if you could explain the code I would be massively grateful.
Thanks

Accepted Answer

Pratheek Punchathody
Pratheek Punchathody on 23 Nov 2020
If you have a discrete filter and want to compute and plot the impulse response, use the “impz()” function. For the transfer function, use the “freqz()” function.
Please refer to the documentation on impz and freqz for further information.
Also the documentation on Impulse response for more information on Impulse response plot of dynamic system; impulse response data

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by