How to calculate and plot impulse response?

5 vues (au cours des 30 derniers jours)
Connor Wright
Connor Wright le 19 Nov 2020
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

Réponse acceptée

Pratheek Punchathody
Pratheek Punchathody le 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

Plus de réponses (0)

Produits


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by