CA3 - -n-10-14 δ-n 10 3 x 1 n =    10 e-| n | if...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
EEE 391 Basics of Signals and Systems Computer Assignment 3 Due: 30 November 2011 by 17:00 in the homework box Convolution: Write a MATLAB program that calculates the convolution of two discrete-time sequences of Fnite length. input: two arrays and their Frst time indices with non-zero values (lengths, if necessary). output: resulting array and its Frst time index with non-zero value (length, if necessary). You may limit the index of the input arrays to the interval [ - 100 , 100] and the output array to the interval [ - 200 , 200]. Make sure there are no out-of-bound index errors. Given two discrete-time sequences x 1 [ n ] and x 2 [ n ] as below, Fnd the results of the convolu- tions: x 1 [ n ] * x 1 [ n ] , x 2 [ n ] * x 2 [ n ], and x 1 [ n ] * x 2 [ n ]: 1) x 1 [ n ] = 1 , if 0 n 19 5 , if 20 n 39 0 otherwise and x 2 [ n ] = | n | , if | n | ≤ 5 0 otherwise 2) x 1 [ n ] = u [ - 2 n + 4] - u [ - n - 3] and x 2 [ n ] = 7 δ
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: [-n-10]-14 δ [-n + 10] 3) x 1 [ n ] =    10 e-| n | , if | n | ≤ 25 otherwise and x 2 [ n ] = 4 δ [ n + 3]-8 δ [ n ] + 4 δ [ n-3] Please do not use the conv( · ) command in MATLAB. You may only use it to cross-check your results. Submit the results of your own work in the form of a well-documented report as hard copy. Borrowing full or partial code from your peers or elsewhere is not allowed. The report should include your code and convolution results. Please include all evidence (plots, screen dumps, MATLAB codes, MATLAB command window print-outs, etc.) as needed in your report. The axes of all plots should be scaled and labeled. Please do not submit any electronic Fles on CD or by e-mail....
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online