20010102
Example To create a 2 × 3 matrix, all of whose entries are X
K2(MAT)c(CREATE)e(Fill)v,c,dw XXX
XXX
u SubMat
Function: Extracts a specific section of a matrix into a new matrix.
Syntax: SubMat( Mat [, start row] [, start column] [, end row] [, end column] [ ) ]
Example To extract the section from row 2, column 2 to row 3, column 3 from
the following matrix
1 2 3
4 5 6
7 8 9
K2(MAT)c(CREATE)f(SubMat)!+( [ )!+( [ )
b,c,d!-( ] )!+( [ )e,f,g
!-( ] )!+( [ )h,i,j!-( ] ) 56
!-( ] ),c,c,d,dw 89
• If you do not specify an end row and column, all the entries from the start row/column to the
end of the matrix are extracted.
7-1-36
Using the CAS (Computer Algebra System) Mode