ENEE241hw13

ENEE241hw13 - ENEE 241 02* HOMEWORK ASSIGNMENT 13 Due Tue...

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 13 Due Tue 05/10 Problem 13A Consider the FIR flter with coe±cient vector b = ± 130 - 3 - 1 ² T . The ²ollowing MATLAB script computes a segment o² the flter output sequence y (1) [ · ] ²or a periodic input sequence x (1) [ · ] o² period L = 6. Specifcally, the vector y1 below equals y (1) [ - 1 : 4]. b = [1 3 0 -3 -1].’ ; H = fft(b,6) ; x1 = [1 2 4 -1 -2 -4].’ ; X1 = fft(x1) ; Y1 = H.*X1 ; y1 = ifft(Y1) (i) (3 pts.) Display the vector x (1) [0 : 5]. ( It is not the same as x1 , introduced above .) (ii) (5 pts.) Compute y (1) [ - 1 : 4] by hand using a circular convolution, or, equivalently, using the flter’s input-output relationship. For parts (iii) and (iv) below, consider the ²ollowing MATLAB script, which computes a segment o² the flter output sequence y (2) [ · ] ²or a periodic input sequence x (2) [ · ] o² period L = 3. Specifcally, the vector y2 equals y (2) [ - 1 : 4]. b = [1 3 0 -3 -1].’ ; H = fft(b,6) ; x2 = [2 -1 5 2 -1 5].’ ; X2 = fft(x2) ; Y2 = H.*X2 ; y2 = ifft(Y2) (iii) (2 pts.) Display the vector x (2) [0 : 2]. (iv) (5 pts.) Compute y (2) [ - 1 : 4] by hand using a circular convolution, based on the flter’s input-output relationship. (v) (5 pts.) Fully explain the relationship between y3 computed below and y2 computed earlier. b = [1 3 0 -3 -1].’ ; H = fft(b,6) ; H = H(1:2:6) ; x3 = [2 -1 5].’ ; X3 = fft(x3) ; Y3 = H.*X3 ; y3 = ifft(Y3) Problem 13B Consider the FIR flter with impulse response given by h [ n ]= b 0 δ [ n ]+ b 1 δ [ n - 1] + b 2 δ [ n - 2] +
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 09/27/2011 for the course ENEE 241 taught by Professor Staff during the Spring '08 term at Maryland.

Page1 / 4

ENEE241hw13 - ENEE 241 02* HOMEWORK ASSIGNMENT 13 Due Tue...

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