getNumElements

System object: phased.ULA
Package: phased

Number of elements in array

Syntax

N = getNumElements(H)

Description

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

Examples

expand all

Construct a default ULA and obtain the number of elements in that array.

 array = phased.ULA;
 N = getNumElements(array)
N = 2