Hi, i'm new in DSP and i have solve some problems, here is the problem:
Given a causal FIR filter described by the following equation:
y[n]= x[n]-2x[n-1]+3x[n-2]
a) Find the filter impulse response Answer:h[n]=?
b) Using MATLAB find the output when the input to the filter is x[n]=[1 -3 4 0 5 6 1 -2 3]
Answer: y[n]=?
To answer the first question you must obviously compute the impulse response, to do that, you replace:
\[x[n] = \delta [n]\] where \[ \delta [n]\] is the unit impulse(kroneker delta)
and you get:
\[y[n] = h[n] = \delta [n]-2\delta [n-1]+3\delta[n-2]\]
that's it!
For the second point, use Matlab
Hi, i'm new in DSP and i have solve some problems, here is the problem:
Given a causal FIR filter described by the following equation:
y[n]= x[n]-2x[n-1]+3x[n-2]
a) Find the filter impulse response Answer:h[n]=?
b) Using MATLAB find the output when the input to the filter is x[n]=[1 -3 4 0 5 6 1 -2 3]
Answer: y[n]=?