getNumElements
System object: phased.HeterogeneousConformalArray
Namespace: phased
Number of elements in array
Syntax
N = getNumElements(H)
Description
N = getNumElements(H)
returns the number
of elements, N, in the conformal array object H
.
Examples
Number of Elements in Heterogeneous Conformal Array
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
Comando MATLAB
Hai fatto clic su un collegamento che corrisponde a questo comando MATLAB:
Esegui il comando inserendolo nella finestra di comando MATLAB. I browser web non supportano i comandi MATLAB.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)