{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

ECE 101 lab_solution2

# ECE 101 lab_solution2 - ECE 101 Linear Systems Winter 2008...

This preview shows pages 1–3. Sign up to view the full content.

ECE 101 – Linear Systems, Winter 2008 Lab #2 Solutions January 24, 2008 (send questions/comments to [email protected]) Problem 1 . The plots for each pair of x[n] and h[n] are shown below: When a signal is convolved with a scaled, shifted unit impulse, the result is the scaled and shifted version (by the same amount) of the input signal. Problem 2 . The plots for this problem are shown below:

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

View Full Document
-2 0 2 4 6 0 20 40 x(k)h(-k) -2 0 2 4 6 0 10 20 x(k)h(1-k) -2 0 2 4 6 0 10 20 x(k)h(2-k) -2 0 2 4 6 -10 0 10 x(k)h(3-k) -2 0 2 4 6 -10 0 10 x(k)h(4-k) -2 0 2 4 6 -5 0 5 x(k)h(5-k) -2 0 2 4 6 0 1 2 x(k)h(6-k) 0 2 4 6 0 20 40 y -2 0 2 4 6 8 0 20 40 conv(x,h) The convolution of the two signals results in conv(x,h) = [30 33 31 6 7 1 2], which matches the plot of y which was formed by summing the values of each x[k]h[n-k] plot at time n. Problem 3 Using the relationship y[n] = x[n] + 2x[n-2], we have: -2 -1 0 1 2 3 4 5 0 1 2 3 4 5 6 7 8 9 10 n y(n) y = x(n) + 2x(n-2) Using the result from Problem 1, h[n] = δ [n] + 2 δ [n-2], which in MATLAB can be written as h = [1 0 2];
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### Page1 / 4

ECE 101 lab_solution2 - ECE 101 Linear Systems Winter 2008...

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

View Full Document
Ask a homework question - tutors are online