Quantcast

Documentation Center

  • Trial Software
  • Product Updates

getNumElements

System object: phased.HeterogeneousURA
Package: phased

Number of elements in array

Syntax

N = getNumElements(H)

Description

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

Examples

Construct a Heterogeneous URA, and obtain the number of elements.

sElement1 = phased.ShortDipoleAntennaElement(...
    'FrequencyRange',[100e6 1e9],...
    'AxisDirection','Z');
sElement2 = phased.ShortDipoleAntennaElement(...
    'FrequencyRange',[100e6 1e9],...
    'AxisDirection','Y');
sArray = phased.HeterogeneousURA(...
    'ElementSet',{sElement1,sElement2},...
    'ElementIndices',[1 2; 2 1]);
N = getNumElements(sArray)
N =

     4
Was this topic helpful?