MxGetSize
- get size of the matrix

Matrix functions
(AFL 4.0)


SYNTAX MxGetSize( matrix, dim )
RETURNS Number
FUNCTION The function retrieves the matrix size in given dimension.
  • matrix is the matrix variable to query for size
  • dim is the dimension to query - 0 means rows, 1 means columns
EXAMPLE my_matrix = Matrix( 9, 3 );

rows = MxGetSize( my_matrix, 0 );
columns = MxGetSize( my_matrix, 1 );
SEE ALSO Matrix() function

References:

The MxGetSize function is used in the following formulas in AFL on-line library:

More information:

Updated on-line reference