Grouping data in a matrx
显示 更早的评论
I have a 2 column matrix with some data. The fist column represents a time index, and the second column represents data for that time index:

so I want to create a matrix that looks like the one below:

so that I can plot a scatter that looks the one below:

I have tried findgroups without success. How best can I implement that?
Thanks a lot for your assistance.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Descriptive Statistics and Insights 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!