Is there a way to extract a specific range of rows and columns from a matrix?
In Matlab, when I plan to extract a submatrix from a large matrix in the following situation:

Say I want to extract row and column 1 and 4 from K, I can create an index matrix and do this:
idx = [4 1; 1 2; 2 3; 3 5];
k = K(idx(1,:),idx(1,:));
But in Mathcad, the built in function submatrix can only extract continuous row and column ranges.
Is there a way to let Mathcad do the same job as in Matlab?
Best
Shawn


