System object: phased.PartitionedArray Package: phased
Number of elements in array
N = getNumElements(H)
N = getNumElements(H) returns the number of elements in the array object H.
H
Partitioned array object.
expand all
Obtain the number of elements in an array that is partitioned into subarrays.
array = phased.PartitionedArray('Array',phased.URA('Size',[2 3]),... 'SubarraySelection',[1 0 1 0 1 0; 0 1 0 1 0 1]); N = getNumElements(array)
N = 6
getNumSubarrays
You have a modified version of this example. Do you want to open this example with your edits?