HW_Set_9_Solutions

# HW_Set_9_Solutions - Introduction to Signal Processing...

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

Introduction to Signal Processing Hayder Radha - 1 - ECE 366 Homework Set #9 Due Wednesday, April 8, 2009 (In class) ECE 366 – Introduction to Signal Processing Spring 2009 Michigan State University Department of Electrical and Computer Engineering Please remember to follow the rules and policies outlined in the ECE 366 Syllabus [1] MatLab Problem (a) Study MatLab session M3.1 in the book. Implement the inline function for an exponential decaying sinusoid: [ ] ( ) ( ) [ ] exp / 5 cos / 5 f nn n u n π =− . Plot Figure M3.1. ( See the book for solution .)

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

View Full Document
Introduction to Signal Processing Hayder Radha - 2 - ECE 366 (b) Modify the above program to implement the two-sided function: [ ] ( ) ( ) exp / 5 cos / 5 o fn n n π =− where n is the absolute value of n . Plot the [ ] o f n . Solution: f = inline( 'exp(abs(n)/5).*cos(pi*(abs(n)/5))' , 'n' ); fo = f(n); % fo is the original discrete-time signal -10 -8 -6 -4 -2 0 2 4 6 8 10 -0.4 -0.2 0 0.2 0.4 0.6 0.8 1 n fo[n]
Introduction to Signal Processing Hayder Radha - 3 - ECE 366 (c) Generate a new function [ ] d f n by decimating [ ] o f n by a factor of 2 M = : [ ] [ ] 2 do f nfn = .

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

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### Page1 / 5

HW_Set_9_Solutions - Introduction to Signal Processing...

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

View Full Document
Ask a homework question - tutors are online