Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

numel (MathScript Function) (Windows, Not in Base Package)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Member of the linalgebra class.

Syntax

c = numel(a)

Description

Returns the number of elements in a matrix.

Examples

Inputs

Name Description
a Specifies a matrix.

Outputs

Name Description
c Returns the number of elements in a. c is an integer.

Examples

A = ones(3, 4)
C = numel(A)

Related Topics

nargin
nargout
size


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit