# Proj1 - -x n-2 3 Let x 1 n = n u n 10-u n-20 x 2 n = cos(0...

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

EECS 152A, CSE 135A: Digital Signal Processing Computer Project #1 Due Oct. 5 in class Write MATLAB programs for the following projects. Include a copy of your programs in your report along with the requested results (numbers, figures, etc.). 1. Let x ( n ) = { 1 , - 2 , 4 , 6 , - 5 , 8 , 10 } , x ( - 4) = 1 , x ( - 3) = - 2 , x ( - 2) = 4 , x ( - 1) = 6 , x (0) = - 5 , x (1) = 8 , x (2) = 10. Generate and plot the samples of the following sequences. x 1 ( n ) = 3 x ( n + 2) + x ( n - 4) - 2 x ( n ) x 2 ( n ) = 2 e 0 . 5 n x ( n ) + cos(0 . 1 πn ) x ( n + 2) for - 10 n 10 . Hint: You need to think about how to add two sequences starting from different indexes. You may use the ‘stemplot’ function, provided in the website. 2. Randomly pick two sequences x ( n ), y ( n ) (any distribution and length) and numerically show which one of the following systems is linear. T 1 [ x ( n )] = 2 x ( n ) T 2 [ x ( n )] = x ( n ) 2 + 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: -x ( n-2) 3. Let x 1 ( n ) = n [ u ( n + 10)-u ( n-20)] , x 2 ( n ) = cos(0 . 1 πn )[ u ( n )-u ( n-30)] , x 3 ( n ) = (1 . 2) n [ u ( n + 5)-u ( n-10)] . Check the following properties of linear convolution: • Commutation: x 1 ( n ) * x 2 ( n ) = x 2 ( n ) * x 1 ( n ) • Association: x 1 ( n ) * ( x 2 ( n ) * x 3 ( n )) = ( x 1 ( n ) * x 2 ( n )) * x 3 ( n )) • Distribution: x 1 ( n ) * ( x 2 ( n )+ x 3 ( n )) = ( x 1 ( n ) * x 2 ( n ))+( x 1 ( n ) * x 3 ( n )) Hint: You may use the conv m function, provided in the website. 4. Let x ( n ) = (0 . 8) n u ( n ). Determine the ﬁrst 50 samples of y ( n ) = x ( n ) * x ( n ), i.e., n = 1 , 2 ,..., 50. 1...
View Full Document

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern