How to sum values from a table by category
9 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I have this table where we have the damage caused by natural events by state and by month. I removed the months column, but I need to calculate the total damage caused by each state. In this table it is shown separately and I don't know how I can do this sum.
0 commentaires
Réponse acceptée
Cris LaPierre
le 16 Nov 2022
Modifié(e) : Cris LaPierre
le 16 Nov 2022
I would use groupsummary. You may be interested in our Performing Calculations by Category video from our Exploratory Data Analysis course in Coursera. The example used is property cost resulting from weather events.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Graphics Performance 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!