How can i create an array with datetime values as one column and integers as one column?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Arnar Þór Ólafsson
am 28 Mär. 2020
Kommentiert: Arnar Þór Ólafsson
am 28 Mär. 2020
I always get the following error: "All inputs must be datetimes or date/time character vectors or date/time strings".
0 Kommentare
Akzeptierte Antwort
Peng Li
am 28 Mär. 2020
you can use table instead of an array.
table can have columns with different types.
e.g.,
a = yourDatetime;
b = yourInteger;
c = table(a, b);
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Data Type Conversion finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!