Plot differing matrices vs time

11 views (last 30 days)
Susan
Susan on 29 Apr 2020
Commented: Susan on 29 Apr 2020
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!

Accepted Answer

darova
darova on 29 Apr 2020
Try for loop
for i = 0:99
surface(A(1:3+i*3,:)+i)
end
  5 Comments
Susan
Susan on 29 Apr 2020
Thanks again for your reply. It somehow sovled my issue, however, I am not sure if taking "mean" over data (each matrix) makes sense here or not. Thank you very much though!

Sign in to comment.

More Answers (0)

Categories

Find more on Creating and Concatenating Matrices in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!