Sorting matrices into different categories
显示 更早的评论
Hello,
I am really struggling to figure out the following problem so would really appreciate any advice!
I have a excel file that has 5 columns and 18000 rows which follows the sample data attached above.
The fifth column identifies the position the person plays in and I need the data to be sorted so that the two different positions are in two tables/matrices which can then be individually manipulated.
Then, I need to sort column 4 (names) so that the same names are grouped together in the separate matrices.
I have tried to represent this in the sample.
I hope this makes sense.
2 个评论
"The fifth column identifies the position the person plays in and I need the data to be sorted so that the two different positions..."
The 5th column contains one position, e.g. "forward". So which "two different" positions are meant?
What does "individually manipulate" mean? What are "separate matrices"?
KPSil
2018-4-16
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Shifting and Sorting Matrices 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!