Main Content

getNumElements

System object: phased.ConformalArray
Namespace: phased

Number of elements in array

Syntax

N = getNumElements(H)

Description

N = getNumElements(H) returns the number of elements, N, in the conformal array object H.

Examples

expand all

Construct a three-element conformal array and obtain the number of elements.

array = phased.ConformalArray('ElementPosition',[-1,0,1;0,0,0;0,0,0]);
N = getNumElements(array)
N = 
3