`cellid`

— Cell identitynonnegative scalar integer | vector of nonnegative integers

Physical layer cell identity, returned as a nonnegative scalar
integer or vector of nonnegative integers. `cellid`

indicates
the detected cell identity. The returned `cellid`

is
a vector when `alg.MaxCellCount > 1`

and more
than one cell is detected.

The overall physical layer cell identity is ```
cellid
= (3*N
```_{id1}) + N_{id2}

.
PSS conveys the second cell identity number `(N`_{id2},
(0,1,2))

within a cell identity group and is established
via time-domain correlation using the `lteDLFrameOffset`

function.
SSS conveys the first cell identity number ` (N`_{id1},
(0,...,167))

and is established in a similar fashion.

**Data Types: **`double`

`offset`

— Timing offsetnonnegative scalar integer | vector of nonnegative integers

Timing offset, returned as a nonnegative scalar integer or vector
of nonnegative integers. `offset`

indicates the
number of samples from the start of the input waveform to the position
in that waveform where the first frame begins. The timing offset is
calculated by correlating with the detected PSS and SSS. The returned `offset`

is
a vector when `alg.MaxCellCount > 1`

and more
than one cell is detected.

**Data Types: **`double`

Peak magnitude of the correlation, returned as a numeric scalar
or vector of numeric values, used for cell detection. The returned `peak`

is
a vector when `alg.MaxCellCount > 1`

and more
than one cell is detected. The peak correlation magnitude is the sum
of the peak correlation magnitudes from PSS and SSS detection. A complete
correlation output is available as the output argument, `corr`

,
from `lteDLFrameOffset`

.