Problem plotting date from excel file

1 view (last 30 days)
Aubrey
Aubrey on 28 Jul 2014
Hi, I am having trouble plotting date (as my x axis) from an excel file. My date format is as follow: '6/16/2014 04:00:00 PM' I need to plot my data over time. Can anyone please tell me what function i must use to convert that date in to an acceptable format?
Thanks

Answers (1)

Matz Johansson Bergström
Matz Johansson Bergström on 28 Jul 2014
I think you want Datenum.

Community Treasure Hunt

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

Start Hunting!