R/ndims.R

Defines functions ndims

Documented in ndims

###
### $Id: ndims.R 29 2022-05-30 23:02:22Z proebuck $
###
### Provides the number of dimensions.
###


##-----------------------------------------------------------------------------
ndims <- function(A) {
    length(matlab::size(A))
}

Try the matlab package in your browser

Any scripts or data that you put into this service are public.

matlab documentation built on June 2, 2022, 1:09 a.m.