Statistica Visual Basic Library of Matrix Functions - MatrixExtract (Matrix, Row, Column, ?NoOfRows, ?NoOfCols, SubMatrix)




name of source data matrix (see Arrays in functions)


initial row number to extract


initial column number to extract


number of rows to extract


number of columns to extract


destination matrix (see Arrays in functions)

The MatrixExtract function will extract the specified number of rows and columns from the source Matrix and place the resulting values in the destination matrix specified as SubMatrix. If the NoOfRows or NoOfCols is set to zero, then the respective height or width of the SubMatrix is used.

Related topics. MatrixGetColumn, MatrixGetDiagonal, MatrixGetRow, MatrixCopy, MatrixDuplicate. For more information on using arrays, see Arrays in functions. For a complete list of matrix functions, see Statistica Visual Basic library of matrix functions.