how to convert string date number to double?

I used 'datenum' to convert date to number. And then used datestr to see the date and the result is as follows.<123x11 char>
val =
01-Jan-1961
02-Jun-1965
.....
How can I convert this character to double?

Antworten (1)

Azzi Abdelmalek
Azzi Abdelmalek am 27 Jan. 2013
Bearbeitet: Azzi Abdelmalek am 27 Jan. 2013

0 Stimmen

datenum(val)
Or
Datevec(val)

Kategorien

Gefragt:

Bum
am 26 Jan. 2013

Community Treasure Hunt

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

Start Hunting!

Translated by