I have never used matlab before and just started working on my first exercise and don't have a clue what I am doing. I would appreciate any pointers to let me know if what I am doing is write or wrong.
Generate and plot the following sequence. In each case the horizontal $(n)$ axis should extend only over the range indicated and should be labels accordingly. Each sequence should be displayed as a discrete-time signal using stem.
$x_1[n]=0.9\delta[n-5] \qquad 1\le n \le 20$
Is this even remotely correct?