| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Statistics Toolbox |
| Contents | Index |
| Learn more about Statistics Toolbox |
Number of dimensions of dataset array
n = ndims(A)
n = ndims(A) returns the number of dimensions in the dataset A. The number of dimensions in an array is always 2.
![]() | NDimensions property (gmdistribution) | ndims (qrandset) | ![]() |

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 |