14.3.18 Number of columns
The
coldim
or
colDim
or
ncols
command finds the number of columns of a matrix.
coldim
takes
A
, a matrix.
coldim(
A
)
returns the number of columns of the matrix
A
.
Example
coldim
([[1,2,3],[3,4,5]])
3