EE432 Fall 2009: In-Class Activities

 

09/16/2009:

 

Using MATLAB's conv function, multiply the following terms together to determine the polynomial:

 

(1)   (x + 3)(x + 2) = __________________________

 

(2)    (x + 1)(x2 + x - 6) = _________________________

 

(3)    (x+1.33)3 = _____________________________

 

(4)    (x3 + 2x -4)(x5 - 0.8) = __________________________

 

 

Using MATLAB's roots function, find the poles and zeros of:

 

(1)  (z4 -z3 +2z -0.5) / (z5 -10z4 + 2z2 +1)

 

 

A transfer function has zeros at z = 0.1+0.5j, z = 0.1 - 0.5j, and z = 2. Its poles are at z =  ejp/8, z =  e-jp/8, z = 0.6 + 0.3j and z = 0.6 - 0.3j.

Write the transfer function as a numerator polynomial divided by a denominator polynomial.

 

For answers, click here

 

10/05/2009:

 

1. Using fdatool, design a Generalized Equiripple Bandpass filter with the following specifications:

-FIR filter

-Generalized Equiripple

-Sample frequency will be 44.1 kHz

-Bandpass: fstop1 = 1000 Hz, fpass1 = 1400 Hz, fpass2 = 2000 Hz, fstop2 = 2400 Hz

-Minimum order

-Passband ripple ("Apass") = 1dB

-Stop band attenuations = 80 dB

 

2. Export the filter coefficients to the workspace (File®Export). How many coefficients are in the filter? In fdatool, look at the pole-zero plot.

 

3. Using the MATLAB filter function and your filter, filter a music clip (>> y=filter(num, denom, x)) and listen to the result. Does it make sense?

 

Now try changing the filter passband so that everything is the same except:

fstop1 = 500 Hz, fpass1 = 700 Hz, fpass2 = 1000 Hz, fstop2 = 1200 Hz

 

Export this filter, and filter your music clip with this one...does the sound make sense when compared with the first filter?

 

10/16/2009:

 

 

 

10/30/2009:

 

 

11/13/2009: