How to separate into different groups?
2 次查看(过去 30 天)
显示 更早的评论
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
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
2018-11-11
1 个评论
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.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!