フィルターのクリア

how to convert string date number to double?

4 ビュー (過去 30 日間)
Bum
Bum 2013 年 1 月 26 日
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?

回答 (1 件)

Azzi Abdelmalek
Azzi Abdelmalek 2013 年 1 月 27 日
編集済み: Azzi Abdelmalek 2013 年 1 月 27 日
datenum(val)
Or
Datevec(val)

カテゴリ

Help Center および File ExchangeDates and Time についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by