function naxis

Returns the number of axes in X.

Syntax
result = naxis(X [, extension])

Arguments
X:   A matrix or a file name
extension:   Integer number specifying which extension to read.


See also
function nelements
function naxis1
function naxis2
function naxis3