HW_Set_9_Solutions - Introduction to Signal Processing...

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

View Full Document Right Arrow Icon
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 .)
Background image of page 1

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

View Full DocumentRight Arrow Icon
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]
Background image of page 2
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 = .
Background image of page 3

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

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

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 Right Arrow Icon
Ask a homework question - tutors are online