Weights applied to each element in the subarray, specified as the comma-separated
pair consisting of `'ElementWeights'`

and a matrix or a cell
array.

For a `ReplicatedSubarray`

object,
`ElementWeights`

must be a
*NSE*-by-*N* matrix, where *NSE*
is the number of elements in each individual subarray and *N* is the
number of subarrays. Each column in `ElementWeights`

specifies the
weights for the elements in the corresponding subarray.

For a `PartitionedArray`

object, if the individual subarrays have
the same number of elements, `ElementWeights`

must be an
*NSE*-by-*N* matrix, where *NSE*
is the number of elements in each individual subarray and *N* is the
number of subarrays.

Each column in the `WS`

property of the
`subarray`

object specifies the weights for the elements in the
corresponding subarray. If subarrays in the `PartitionedArray`

object
have different number of elements, `ElementWeights`

can be one of
the following:

*NSE*-by-*N* matrix ––
*NSE* indicates the number of elements in the largest
subarray and *N* is the number of subarrays.

1-by-*N* cell array –– *N* is the number
of subarrays and each cell contains a column vector whose length is the same as
the number of elements of the corresponding subarray.

If `WS`

is a matrix, the first *K* entries in
each column specify the weights for the elements in the corresponding subarray.
*K* is the number of elements in the corresponding subarray. If
`WS`

is a cell array, each cell in the array is a column vector
specifying the weights for the elements in the corresponding subarray.

#### Dependencies

This parameter is applicable when you set the
`SubarraySteering`

property of `subarray`

object
to `'Custom'`

.

**Data Types: **`double`