MATLAB: How to compute impulse response

fir

How can I calculate the impulse response for the following equation:
y[n]=-5*X[n]+2*X[n-1]-5*X[n-2]+2*X[n-3]

Best Answer

You can use the filter function with the coefficients as an input argument.