k-Wave Toolbox |
Return the number of matrix dimensions
dim = numDim(x)
numDim
returns the number of dimensions of a matrix x
. Unlike the inbuilt ndims
, numDim
returns 1 for 1D vectors, 2 for 2D arrays, etc.
|
matrix with unknown number of dimensions |
|
number of dimensions |
ndims
neper2db | overlayPlot |
© 2009-2014 Bradley Treeby and Ben Cox.