1x1 datetime cells into plot
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Ercan
am 21 Okt. 2022
Kommentiert: Walter Roberson
am 21 Okt. 2022
Hey guys!
I've got a 30224x1 cell data of time which shows as "1x1 datetime" in cells when I import them.
However, I can not able to plot them.
Could anyone help me to do it properly?
0 Kommentare
Akzeptierte Antwort
Walter Roberson
am 21 Okt. 2022
Thethis_Time = [yourCell{:}];
No need to convert to datenum.
2 Kommentare
Walter Roberson
am 21 Okt. 2022
Either
Thethis_Time = [yourCell{:}] .';
or
Thethis_Time = vertcat(yourCell{:});
Weitere Antworten (1)
David Hill
am 21 Okt. 2022
Convert to datenum to plot.
for k=1:length(yourCell)
t(k)=datenum(yourCell{k});
end
2 Kommentare
Siehe auch
Kategorien
Mehr zu Dates and Time 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!