The lteCSIRSInidices
function
supports the creation of multiple non-zero power resources and zero
power CSI-RS.
By default the output indices as re returned as a column vector
in one-based linear indexing form, that can directly index elements
in an N-by-M-by-max(CSIRefP) array.
These indices represent the subframe grid across max(CSIRefP) antenna
ports (p = 15,...,22). Other index representations
can also be created as well as whether the output includes the RE
that should be empty in a specific port because of CSI-RS transmissions
in another port. These indices are ordered as the complex CSI-RS symbols
should be mapped and do not include any elements allocated to PBCH,
PSS, and SSS. You can define the CSI-RS subframe configuration schedule
as required for the CSI-RS resources. If the subframe contains no
CSI-RS, then an empty vector is returned. When multiple non-zero power
and zero power CSI-RS are returned, the indices for the zero power
CSI-RS appear first in the concatenated output, followed by the indices
for the ordered set of CSI-RS resources.