Filter löschen
Filter löschen

How to separate into different groups?

1 Ansicht (letzte 30 Tage)
Megan Mirkhanian
Megan Mirkhanian am 11 Nov. 2018
Kommentiert: Image Analyst am 11 Nov. 2018
I have data that is long and it has different groups inside the data, the different groups are separated within the column by spaces. How do I tell matlab that a space means another group. And after how do I add data from each group, not the total from all the groups but from each group?
  1 Kommentar
Image Analyst
Image Analyst am 11 Nov. 2018
Too many possible solutions to suggest without your data. Post your data so we can suggest just the one method that is best.

Melden Sie sich an, um zu kommentieren.

Antworten (2)

Megan Mirkhanian
Megan Mirkhanian am 11 Nov. 2018
each group is between the yellow to yellow (space to space). I want to find the total rain, "BBYPrecip" column, but I want to find the sum (total rain) of each group not all of my data.
  1 Kommentar
Image Analyst
Image Analyst am 11 Nov. 2018
Since you Accepted your answer, and did not attach any data we can read in (like in a .mat file), we will assume you solved it yourself.

Melden Sie sich an, um zu kommentieren.


Megan Mirkhanian
Megan Mirkhanian am 11 Nov. 2018

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by