stem(x(1:20))
will plot the first 20 samples of x, assuming it has that many. Or
stem(x(345:364))
etc, to plot some other arbitrary section of 20 samples.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!