Starting from:

$25

EE2703-Assignment 10 Linear and Circular Convolution Solved

1.   Download h.csv from Moodle. The file contains coefficients for an FIR filter.

2.   Plot the magnitude and phase response of the filter and infer the properties of thefilter.

Read up scipy.signal.freqz() to plot the magnitude and phase response of a digital filter.

3.   Generate the following sequence and plot:

                                                   x = cos(0.2∗ pi∗n)+cos(0.85∗ pi∗n)                                    (5)

Where n is 1, 2, 3, ... 210

4.   Pass the sequence x through the filter using linear convolution and plot the output.

What do you observe?

5.   Now repeat process using circular convolution. Plot the output.What is difference do you observe?

Note that computational cost of circular convolution is less in frequency domain.

More products