hwB35 - ENEE 241 02 HOMEWORK ASSIGNMENT 35 Due Wed 05/07...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
ENEE 241 02 * HOMEWORK ASSIGNMENT 35 Due Wed 05/07 Use the MATLAB script below to generate the coefficient vector b of a bandpass FIR filter of order M = 44. f1 = 0.19 + .03*rand(1) ; f2 = 0.34 + .03*rand(1) ; F = [0 f1 f1+0.03 f2 f2+0.03 0.5]*2 ; G = [1 1 0 0 1 1] ; b = firpm(44,F,G) ; (i) (2 pts.) Plot (using stems) the coefficient vector b against the index vector [0 : 44]. (ii) (4 pts.) Using FFT , compute the the frequency response H ( e ) at 1,000 uniformly spaced frequencies in [0 , 2 π ). Plot the amplitude and phase response against f = ω/ (2 π ) (two separate plots). (iii) (3 pts.) By examining the amplitude response, verify that the passband and stopband edges (four frequencies in total) are consistent with the randomly generated values f1 , f2 and the specification F . (iv) (3 pts.) Determine the passband ripple δ and stopband attenuation 1 . (v) (4 pts.) Is the sequence x [ · ] defined by x [ n ] = 2 . 0cos(0 . 16 πn + 1 . 1) + 1 . 3cos(0 . 32 πn - 0 . 3) , n Z
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 03/21/2010 for the course ENEE 241 taught by Professor Staff during the Spring '08 term at Maryland.

Page1 / 2

hwB35 - ENEE 241 02 HOMEWORK ASSIGNMENT 35 Due Wed 05/07...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online