Calling plot() with a matrix plots one line per column of the matrix. Since each row of your matrix represents the data for one user, you can transpose the matrix in your call to plot() to do the right thing:
plot(x(1:5,1:100).')
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!