Question: MATLAB !!!!! A digital filter is described by y(n) 2.56y(n 1) + 2.22y(n 2) 0.65y(n 3) = x(n) + x(n 3) where x(n) is the

MATLAB !!!!!

A digital filter is described by

y(n) 2.56y(n 1) + 2.22y(n 2) 0.65y(n 3) = x(n) + x(n 3)

where x(n) is the input and y(n) is the output. Assume all zero initial conditions

(a) Generate the input signal x(n), which is a sinusoid of frequency 500 Hz sampled at 6 kHz.

(b) Compute the first four cycles of the output by directly implementing the above difference equation.

Plot the input and output on the same graph.

(c) Implement the above filter by using MATLAB filter function. Compare your results with part(b).

Comment on your result.

(d) Plot the impulse response of the filter by using MATLAB impz function. Comment on the results.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!