impulse response from transfer function in matlab
Ältere Kommentare anzeigen
i have a transfer function given by
H(z)= 1-z^(-1)/1-z^(-1)+z^(-2)
how to find its impulse response h(n) in matlab what is the code for the same ?
Akzeptierte Antwort
Weitere Antworten (1)
Abdul Jabbar
am 10 Dez. 2016
0 Stimmen
z^-1 -4z^-2 -2z^-4 can any one tell me that how i can find the impulse response of this function?
2 Kommentare
Petar Mostarac
am 8 Dez. 2023
Bearbeitet: Petar Mostarac
am 8 Dez. 2023
Is this a joke? :)
It is -1, -4 0 -2 and zeros to inf.
z^-1 is one sample delay, one step delay
Formarly, use basic knowladge to find H(z) in form H=b/a and then you can use:
h=impz(b,a, length_of_impulse_response)
In your question: b=[1 -4 0 -2] and a=[1 0 0 0]
If it is a joke, then is a good one :)
Paul
am 8 Dez. 2023
Actually, the solution with impz should have: b = [0 1 -4 0 -2]
Kategorien
Mehr zu Digital Filter Analysis finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

