필터 지우기
필터 지우기

How to separate into different groups?

조회 수: 1 (최근 30일)
Megan Mirkhanian
Megan Mirkhanian 2018년 11월 11일
댓글: Image Analyst 2018년 11월 11일
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
Image Analyst
Image Analyst 2018년 11월 11일
Too many possible solutions to suggest without your data. Post your data so we can suggest just the one method that is best.

댓글을 달려면 로그인하십시오.

답변 (2개)

Megan Mirkhanian
Megan Mirkhanian 2018년 11월 11일
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
Image Analyst
Image Analyst 2018년 11월 11일
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.

댓글을 달려면 로그인하십시오.


Megan Mirkhanian
Megan Mirkhanian 2018년 11월 11일

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by