How to calculate and plot impulse response?
24 views (last 30 days)
Connor Wright on 19 Nov 2020
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.
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.
Also the documentation on Impulse response for more information on Impulse response plot of dynamic system; impulse response data