Main Content

getNumElements

System object: phased.UCA
Namespace: phased

Number of elements in array

Syntax

N = getNumElements(H)

Description

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

Input Arguments

expand all

Uniform circular array, specified as a phased.UCA System object.

Example: H = phased.UCA();

Output Arguments

expand all

Number of elements of array, returned as a positive integer.

Examples

expand all

Create a UCA with the default number of elements. Verify that there are five elements.

sArray = phased.UCA();
N = getNumElements(sArray)
N = 
5

Version History

Introduced in R2015a