A signal xt is processed through a DA converter and a DSP ch
A signal x(t) is processed through a D/A converter and a DSP chip. The DSP chip has a FIR filter The output signal from the DSP chip Y[n} is shown below: y[n] = 2 X[n] - 5x[n-1] + 3x[n-2] Find the filter coefficients and order of the filter. Draw the implementation of this system as a block diagram in direct form. Determine the response of this system to a unit impulse input: i.e find the output y[n] = h[n] when the input is x[n] = [n] Plot h[n] as a function of n. Plot X[n} and Y[n] if X[n] = 2 [n] + 5 [n-1] +3 [n-3]+ [n-5]
Solution
close all;
clear all;
clc;
n=0:1:5;
x=[2 5 0 3 0 1];
y=[4 25 0 0 0 0];
stem(n,x);
xlabel(\'n\');
ylabel(\'x\');
stem(n,y);
xlabel(\'n\');
ylabel(\'y\');
![A signal x(t) is processed through a D/A converter and a DSP chip. The DSP chip has a FIR filter The output signal from the DSP chip Y[n} is shown below: y[n] A signal x(t) is processed through a D/A converter and a DSP chip. The DSP chip has a FIR filter The output signal from the DSP chip Y[n} is shown below: y[n]](/WebImages/15/a-signal-xt-is-processed-through-a-da-converter-and-a-dsp-ch-1025052-1761530624-0.webp)