Azzera filtri
Azzera filtri

How to calculate and plot impulse response?

6 visualizzazioni (ultimi 30 giorni)
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

Risposta accettata

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

Più risposte (0)

Prodotti


Release

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by