FUNCTION REFERENCE

ndims

Number of dimensions.

Number of dimensions.

Syntax

ndims(A)

Always returns 2 for MatRust arrays.

Example

ndims([1 2; 3 4])   % 2

Differences from MATLAB: none known.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.