Extract columns from matrices
3 次查看(过去 30 天)
显示 更早的评论
I have a large number of .mat files, and each one contains three matrices named "matrx_1", "matrix_2" and "matrix_3" with different size.
I would like to extract, for example, the 6th and the 9th columns of each matrix "matrix_1" in two different arrays and then plot them. At the same time, I would like to repeat this operation for the 8th column of the matrix "matrix_2" and with the 10th column of matrix "matrix_3".
How can I do this? Thanks
3 个评论
Stephen23
2019-10-14
I strongly recommend that you load into an output variable (which is a scalar structure).
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Matrix Indexing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!