Combining a Datetime matrix (8760 x 1) with another cell matrix (8760 x 2)
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Tushar Agarwal
le 3 Oct 2016
Commenté : Tushar Agarwal
le 4 Oct 2016
Hello, I have a data set of (8760 x 3)wherein a extracted just the first col of the data( in this format 'uuuu-MM-dd''T''HH:mm:ssXXX') to convert it to another format ('yyyy-MM-dd hh:mm:ss'). Thus I obtained a datetime matrix of (8760 x 1).
1. How do i replace this new format of datetime with the longer format (row 1 ) of my original file of cell matrix.
I get an error regarding the type of matrices, and that they cant be combined.
1 commentaire
Peter Perkins
le 3 Oct 2016
Tushar, I think you're going to need to give a specific, short example of what you're tyring to do.
Réponse acceptée
Steven Lord
le 3 Oct 2016
If you want your data stored in tabular form, and you're using release R2016b or later, consider storing your data in a timetable.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Dates and Time dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
