Accelerating the pace of engineering and science
Number of dimensions in matrix
n = ndims(p)
n = ndims(p) returns the number of dimensions
in the matrix that is created by the syntax p(:,:).
Since this is always a 2-D matrix, n is always
equal to 2.
qrandset | size
Join the conversation