Write a MATLAB code segment that will plot the first 50 samples, n=0 to 49, of the discrete-time signal x[n] determined for problem 2. The signal should be plotted by itself on a set of axes in a figure window.
A) plot (n, x(1:50))
B) plot (0:49, x(1:50))
C) plot (x(1:50))
D) plot (n, x)