Passing datenum a column vector?
Mostra commenti meno recenti
Hi, I have a column vector of dates in yyyymmdd format e.g.
19961016
19961017
19961018
19961021
19961022
19961023
19961024
Is there a way to convert each entry into a serial date number and have a column vector of serial date numbers back?
thanks friz
Risposta accettata
Più risposte (1)
Andrei Bobrov
il 7 Mag 2011
more
sd = datenum(num2str(d),'yyyymmdd')
Categorie
Scopri di più su Dates and Time in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!