Skip to Main Content Skip to Search
Product Documentation

length - Class: dataset

Length of dataset array

Syntax

n = length(A)

Description

n = length(A) returns the number of observations in the dataset A. length is equivalent to size(A,1).

See Also

size

  


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