Skip to Main Content Skip to Search
Product Documentation

numberofelements - Number of data elements in fi array

Syntax

numberofelements(a)

Description

numberofelements(a) returns the number of data elements in a fi array. numberofelements(a) == prod(size(a)).

Note that fi is a MATLAB object, and therefore numel(a) returns 1 when a is a fi object. Refer to the information about classes in the MATLAB numel reference page.

See Also

max | min | numel

  


Free Early Verification Kit

Learn how to apply early verification to your development process through these technical resources.

How much time do you spend on testing to ensure implementation meets system-level requirements?

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