Impulse and step response

y(n)=(x(n)-3*x(n-1)+4*x(n-2)-2*x(n-3))/2 how do i find the impulse and step response of this system ? in matlab

Réponses (1)

Wayne King
Wayne King le 3 Déc 2013
Modifié(e) : Wayne King le 3 Déc 2013

0 votes

B = [1/2 -3/2 2 -1];
[h,t] = impz(B,1);
[u,t] = stepz(B,1);
This is an FIR filter so the impulse response is just the filter coefficients.

Question posée :

le 3 Déc 2013

Modifié(e) :

le 3 Déc 2013

Community Treasure Hunt

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

Start Hunting!

Translated by