主要内容

phased.HeterogeneousConformalArray.getNumElements

Number of elements in array

Description

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

example

Examples

collapse all

Construct a heterogeneous 8-element circular array and use the getNumElements method to return the number of elements.

antenna1 = phased.ShortDipoleAntennaElement(FrequencyRange=[100e6 1e9], ...
    AxisDirection="Z");
antenna2 = phased.ShortDipoleAntennaElement(FrequencyRange=[100e6 1e9], ...
    AxisDirection="Y");
N = 8;
azang = (0:N-1)*360/N-180;
array = phased.HeterogeneousConformalArray(ElementPosition= ...
    [cosd(azang);sind(azang);zeros(1,N)], ...
    ElementNormal=[azang;zeros(1,N)], ...
    ElementSet={antenna1,antenna2}, ...
    ElementIndices=[1 1 1 1 2 2 2 2]);
N = getNumElements(array)
N = 
8

Input Arguments

collapse all

Conformal array object.

Data Types: double
Complex Number Support: Yes

Version History

Introduced in R2013a