Products & Services Solutions Academia Support User Community Company

Learn more about Statistics Toolbox   

ndims - Class: qrandset

Number of dimensions in matrix

Syntax

n = ndims(p)

Description

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.

See Also

qrandset, size

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS