Previous Up Next

5.45.17  Dimension of a matrix: dim

The dim command finds the dimension of a matrix.

Example.

Input:

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

Output:

⎡
⎣
2,3⎤
⎦

Previous Up Next