Solved
Extract non-consecutive rows and columns from a matrix
- March 22, 2015
- 2 replies
- 1709 views
Hi, everyone,
Suppose I have a 13 by 13 matrix, (shown in attachment),
what I want to do is to extract its 4th-5th, 7th, 9th-10th rows and columns to create a 5 by 5 matrix.
So far I only know that the function "submatrix" works with extracting consecutive rows and columns,
so how to extract non consecutive rows and columns?
Looking forward to hearing from you,
Thank you very much
Best
Shawn
