Assigning row names iteratively
Afficher commentaires plus anciens
Hello, i have a [365, 24] table reporting values per hour for each day of the year.
How can I assign days names to all 365 rows ('Monday','Tuesday'...) without writing 365 names with 'RowNames'?
1 commentaire
Stephen23
le 4 Déc 2023
There is only a small chance that some random year will start on a Monday.
To obtain the correct days of the week you should use DATETIME.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Tables dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!