This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.


System object: phased.HeterogeneousConformalArray
Package: phased

Number of elements in array


N = getNumElements(H)


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


expand 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], ...
antenna2 = phased.ShortDipoleAntennaElement('FrequencyRange',[100e6 1e9], ...
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
Was this topic helpful?