How to keep time (Not tic toc)

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

Can you explain how are you getting your data?
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).
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)

Convert the times to date numbers:
doc datenum

Categories

Find more on Graph and Network Algorithms in Help Center and File Exchange

Tags

Asked:

Ry
on 21 Mar 2014

Commented:

on 25 Mar 2014

Community Treasure Hunt

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

Start Hunting!