Borrar filtros
Borrar filtros

how to convert string date number to double?

4 visualizaciones (últimos 30 días)
Bum
Bum el 26 de En. de 2013
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?

Respuestas (1)

Azzi Abdelmalek
Azzi Abdelmalek el 27 de En. de 2013
Editada: Azzi Abdelmalek el 27 de En. de 2013
datenum(val)
Or
Datevec(val)

Categorías

Más información sobre Dates and Time en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by