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

Answers (1)

Wayne King
Wayne King on 3 Dec 2013
Edited: Wayne King on 3 Dec 2013
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.

Asked:

on 3 Dec 2013

Edited:

on 3 Dec 2013

Community Treasure Hunt

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

Start Hunting!