plotting date from datetime array
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
ismail bhamjee
le 16 Déc 2019
Réponse apportée : Akira Agata
le 16 Déc 2019
I have a date time array which has dates in the format of dd-MM-yy. This data also has NATs.
i would like to create a graph which shows how many intances a particular year has.
so year would be along the X asis and the Y axis would be number of instances.
I have tried.
>> histogram(d.year)
d being my datetime array
the Data looks like this:
.
I get the error
Unrecognized property: 'year'.
0 commentaires
Réponse acceptée
Akira Agata
le 16 Déc 2019
'Y' should be a captal letter. Please try:
histogram(d.Year)
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Dates and Time dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!