Splitting a matrix into submatrices by value
显示 更早的评论
Hello, I have a 10000x3 matrix called A. The 3rd column of the matrix consists of 0s and 1s. I want to create 2 submatrices where A1 collects all rows of A that has a 1 in the 3rd column. A2 should collect the rest of the columns. How can I do that? Thanks!
2 个评论
madhan ravi
2018-10-11
编辑:madhan ravi
2018-10-11
Give short example question is not clear . Give an example.
hey yo
2018-10-11
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Matrix Indexing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!