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.ReplicatedSubarray
Package: phased

Number of elements in array


N = getNumElements(H)


N = getNumElements(H) returns the number of elements in the array object H. This number includes the elements in all subarrays of the array.

Input Arguments


Array object consisting of replicated subarrays.


expand all

Create an array with two copies of a 3-element ULA, and obtain the total number of elements.

subarray = phased.ReplicatedSubarray('Subarray',...
    phased.ULA('NumElements',3),'GridSize',[1 2]);
N = getNumElements(subarray)
N = 6
Was this topic helpful?