how to create date variable or column
古いコメントを表示
Dear All, I have numeric matrix of 3 columns and 100 rows, the 1st column is A and represents day number from 1 to 30, the 2nd column is B and represents month number from 1 to 12, the 3rd one is the year, how can I please create 4th column for the date in the format mm/dd/year? by combining the 3 columns. And then add this column with this format to the matrix as a 4th column. thank you
4 件のコメント
James Tursa
2019 年 5 月 10 日
You can't mix formatted dates in with a numeric matrix. Do you actually have a table? Can you show us the first few lines of what you currently have?
MAHMOUD ALZIOUD
2019 年 5 月 10 日
James Tursa
2019 年 5 月 10 日
Readers are going to be reluctant to download an Excel spreadsheet. Can you provide what you have on the MATLAB side? Do you need help in loading the spreadsheet into MATLAB?
MAHMOUD ALZIOUD
2019 年 5 月 10 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Dates and Time についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!