Documentation

ltePUCCH3PRBS

PUCCH format 3 pseudorandom scrambling sequence

Syntax

  • seq = ltePUCCH3PRBS(ue,n)
    example
  • seq = ltePUCCH3PRBS(ue,n,mapping)

Description

example

seq = ltePUCCH3PRBS(ue,n) returns a column vector containing the first n outputs of the Physical Uplink Control Channel (PUCCH) format 3 scrambling sequence when initialized according to UE-specific settings, ue, which must be a structure.

seq = ltePUCCH3PRBS(ue,n,mapping) allows control over the format of the returned sequence, seq, through the string mapping. Valid formats are 'binary', the default, and 'signed'. The 'binary' format maps true to 1 and false to 0. The 'signed' format maps true to –1 and false to 1.

Examples

collapse all

Generate PUCCH Format 3 Pseudorandom Scrambling Sequence

This example shows the generation of unsigned and signed PUCCH format 3 pseudorandom scrambling sequences.

Initialize ue specific parameters.

ue = struct('NCellID',1,'NSubframe',0,'RNTI',1);

Generate a PUCCH format 3 pseudorandom scrambling sequence.

pucch3Seq = ltePUCCH3PRBS(ue,5)
pucch3Seq =

     1
     1
     0
     0
     1

Generate a signed PUCCH format 3 pseudorandom scrambling sequence.

pucch3Seq = ltePUCCH3PRBS(ue,5,'signed')
pucch3Seq =

    -1
    -1
     1
     1
    -1

Input Arguments

collapse all

ue — UE-specific settingsstructure

UE-specific settings, specified as a structure having the following fields.

NCellID — Physical layer cell identityinteger (0...503)

Physical layer cell identity, specified as an integer between 0 and 503.

Data Types: double

NSubframe — Subframe numberinteger

Subframe number, specified as an integer.

Data Types: double

RNTI — Radio Network Temporary Identifierinteger

Radio Network Temporary Identifier (16-bit), specified as an integer.

Data Types: double

Data Types: struct

n — Length of PUCCH Format 3 scrambling sequenceinteger

Length of PUCCH Format 3 scrambling sequence, specified as an integer. This parameter determines the length of the output argument vector, seq.

Example: 3

Data Types: double

mapping — Format control of the returned sequence'binary' (default) | 'signed'

Format control of the returned sequence, specified as either the string 'binary' or the string 'signed'. The format 'binary' maps true to 1 and false to 0. The format 'signed' maps true to –1 and false to 1.

Example: 'signed'

Data Types: char

Output Arguments

collapse all

seq — PUCCH format 3 scrambling sequencelogical column vector | numeric column vector

PUCCH format 3 scrambling sequence, returned as a logical column vector or a numeric column vector of size n-by-1. The number of elements returned is determined by the argument n. If you set mapping to 'signed', the output data type is double. Otherwise, the output data type is logical.

Data Types: logical | double

Introduced in R2014a

Was this topic helpful?