Previous Up Next

14.3.18  Number of columns

The coldim or colDim or ncols command finds the number of columns of a matrix.

Example

coldim([[1,2,3],[3,4,5]])
     
3           

Previous Up Next