Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Extracting specific rows of a matrix

Suppose I have a matrix A which is m x n in order. How do I extract a submatrix of specified rows and colums from A. Like I want a p x q submatrix of A. Will the expanded_submatrix method help in this regard? Thanks beforehand.