1. Use the conv() function find the convolution sum of the following signals, and verify the results with your manual calculation.
2. Write your own Matlab function, y = convsum(x, h), to calculate the
convolution sum between two vectors, x and h, based on the definition
of convolution sum. The inputs are two vectors, x and h, and the
output vector y is the convolution sum between x and y. The result
should be the same as the Matlab built-in function conv( ). (Use
“help function to learn how to write a Matlab function). Repeat
Problem 1 with your own convsum() function.
3. Delay and Echo. The following example showed how to load a wav file
and play it with Matlab.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 1 | 2 | 3 | 4 | 5 |