How to keep time (Not tic toc)

1 view (last 30 days)
Ry
Ry on 21 Mar 2014
Commented: Star Strider on 25 Mar 2014
I have data that was taken at a time, I want to use the times to create time series plots and other such charts and graphs. With this data I am finding the mean, variance and correlation coefficient, This gives out puts that show no indication of the time they where taken at. How can I keep the time tied to the out puts to make it easier to graph later?
  3 Comments
Ry
Ry on 25 Mar 2014
I receive the data from an online storage area. From there I bring it to my computer and import it into MATLAB. I can see the time in a column to the far left, and the readings I am interested in, on the far right. To define a variable I high light the entire row and analyze it in 30 data point increments. (Sorry for the late response, I did not receive an email for a comment).
Star Strider
Star Strider on 25 Mar 2014
Posting a few (10 or so) representative lines of your data, what you are now doing with it, and what you want to do with it would help.

Sign in to comment.

Answers (1)

Sean de Wolski
Sean de Wolski on 21 Mar 2014
Convert the times to date numbers:
doc datenum

Tags

Community Treasure Hunt

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

Start Hunting!