MATLAB: Plot differing matrices vs time

matrixplottime series

Hello everyone,
I have a data set and I would like to plot it versus time. For each observation (at a specific time instance) I have a 3*5 matrix.
The data set that I have is a 300*5 matrix (100 observations and for each of them a 3*5 matrix). How can I plot my data versus time?
Thanks in advance!

Best Answer

  • Try for loop
    for i = 0:99
    surface(A(1:3+i*3,:)+i)
    end