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

Parameter

Description

Matrix

name of source data matrix (see Arrays in functions)

Row

initial row number to extract

Column

initial column number to extract

?NoOfRows

number of rows to extract

?NoOfCols

number of columns to extract

SubMatrix

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.