Documentation

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.

getNumSubarrays

System object: phased.ReplicatedSubarray
Package: phased

Number of subarrays in array

Syntax

N = getNumSubarrays(H)

Description

N = getNumSubarrays(H) returns the number of subarrays in the array object H.

Input Arguments

H

Array object consisting of replicated subarrays.

Examples

expand all

Create an array by tiling copies of a ULA in a 2-by-5 grid. Then, obtain the number of subarrays.

subarrays = phased.ReplicatedSubarray('Subarray',...
    phased.ULA('NumElements',3),'GridSize',[2 5]);
N = getNumSubarrays(subarrays)
N =

    10

See Also

Was this topic helpful?