Introduction - If you have any usage issues, please Google them yourself
1. Define two signals as:
x1[n] =
n, 0 < n N1+1
2
N1 − n+ 1, N1+1
2 < n N1
0, elsewhere
and
x2[n] = 1, 0 < n N2
0, elsewhere
We let N1 = 999 and N2 = 500.
(a) (30 )Write a MATLAB function myconv to compute x1[n]x2[n] where
denotes the convolution sum. You have to plot your result and attach
it in your report. You may use the MATLAB function conv to check
whether your result is correct.