Object Reference : Object View and Procedure Reference : Matrix
  
 
resize
Resize the matrix object.
Syntax
matrix_name.resize rows cols
Examples
mat1.resize 3 5
resizes the matrix MAT1 to 3 rows and 5 columns, retaining the contents of any existing elements and initializing new elements to 0.