how to create date variable or column
Ältere Kommentare anzeigen
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 Kommentare
James Tursa
am 10 Mai 2019
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
am 10 Mai 2019
James Tursa
am 10 Mai 2019
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
am 10 Mai 2019
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Dates and Time finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!