Table with date and x need to plot graph
Afficher commentaires plus anciens
I have a table with two columns first column is the date and x is a value. I need to sum all the x values up for one day and then plot the cumulative summed x for each date.
Does anyone have any suggestions?
Réponse acceptée
Plus de réponses (1)
Peter Perkins
le 11 Avr 2018
In R2016b or later, timetables make the "compute daily sum" step super easy:
tt2 = retime(tt,'daily','sum')
Catégories
En savoir plus sur Data Distribution Plots dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!