How can i take specific values from a matrix and put them into another matrix?
2 次查看(过去 30 天)
显示 更早的评论
I have a 2170x2 matrix: the first column is filled with my values and the second one goes from 1 to 12 over and over again (1 to 12 representing each month of the year).
I need to regroup the values corresponding to each month together ( all the values from the first column that have the same number in the second column) but I can't figure it out.
0 个评论
采纳的回答
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!