Functions > Vector and Matrix > Creating and Subdividing Arrays > Joining and Subdividing Arrays
Joining and Subdividing Arrays
augment(A, B, C, ...)—Returns an array formed by placing A, B, C, ... left to right.
stack(A , B, C, ...)—Returns an array formed by placing A, B, C, ... top to bottom.
submatrix(A, ir, jr, ic, jc)—Returns the matrix consisting of rows ir through jr and columns ic through jc of array A.
To extract a single column, use the column operator. To extract a single row, use the row operator.
Arguments
A, B, C , ... are arrays having the same number of rows for augment, or the same number of columns for stack.
A, B, C , ... can be scalars and single-row vectors for augment, or scalars and single-column vectors for stack.
ir, jr are the integer upper and lower indices of the rows to be extracted.
ic, jc are the integer upper and lower indices of the columns to be extracted.
Was this helpful?