N = getSubarrayPosition(array)
returns the total number of subarrays, N, in the panel
array when the EnablePanelSubarray property is
set to true. N is returned as 0 when the
EnablePanelSubarray property is set to false.
Construct a 5G antenna array with panels on a 2-by-2 grid with each panel being a 4-by-4 array. Each antenna element consists of two short-dipole elements. Use each panel as a subarray. The elements are spaced 1/2 wavelength apart and the panels are spaced at 5/2 wavelengths. Plot the response of the array at 6 GHz. Assume the weights for each element within the subarray is unity.
c = physconst('LightSpeed');
fc = 6e9;
lambda = c/fc;
ant = phased.ShortDipoleAntennaElement;
array = phased.NRRectangularPanelArray(ElementSet={ant,ant}, ...
Size=[4, 4, 2, 2], ...
Spacing=[0.5*lambda,0.5*lambda,5*0.5*lambda,5*0.5*lambda], ...
EnablePanelSubarray=true,SubarraySteering='Custom');
Display the array pattern.
pattern(array,fc,'ElementWeights',ones(16,8));
Compute the number of elements and the number of subarrays.
Number of subarrays in panel array, returned as a nonnegative integer. Number of
subarrays in the panel array when the
EnablePanelSubarray property is set to true.
N is returned as 0 when the
EnablePanelSubarray property is set to false.
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window.
Web browsers do not support MATLAB commands.
Website auswählen
Wählen Sie eine Website aus, um übersetzte Inhalte (sofern verfügbar) sowie lokale Veranstaltungen und Angebote anzuzeigen. Auf der Grundlage Ihres Standorts empfehlen wir Ihnen die folgende Auswahl: .
Sie können auch eine Website aus der folgenden Liste auswählen:
So erhalten Sie die bestmögliche Leistung auf der Website
Wählen Sie für die bestmögliche Website-Leistung die Website für China (auf Chinesisch oder Englisch). Andere landesspezifische Websites von MathWorks sind für Besuche von Ihrem Standort aus nicht optimiert.