[seq,cinit] = ltePUCCH2PRBS(ue,n)
returns the first n outputs of the Physical Uplink Control
Channel (PUCCH) Format 2 scrambling sequence when initialized according to
UE-specific settings, ue. It also returns an initialization
value cinit for the pseudorandom binary sequence (PRBS)
generator.
Scramble the encoded UCI bits representing RI=3 using 2 bits. According to Table 5.2.2.6-6 in TS 36.212 this maps to the set of input bits [1; 0].
Create user-specific configuration structure. Generate a UCI codeword and a pseudorandom scrambling sequence for the PUCCH2 the same length as the codeword.
UE-specific settings, specified as a structure. ue contains
the following fields.
Physical layer cell identity number, specified as a nonnegative
scalar integer.
Example: 1
Data Types: double
Subframe number, specified as a nonnegative scalar integer.
Example: 0
Data Types: double
Radio network temporary identifier (16-bit), specified as a
scalar integer.
Example: 1
Data Types: double
Number of elements in returned sequence, seq,
specified as a numeric scalar.
Data Types: double
Range of elements in returned subsequence, subseq, specified as a
row vector of [p n]. The subsequence returns n
values of the PRBS generator, starting at position p
(0-based).
Data Types: double
Output sequence formatting, specified as 'binary' or
'signed'. mapping controls the format of the
returned sequence.
PUCCH format 2 pseudorandom scrambling sequence, returned as a logical column vector or a
numeric column vector. seq contains the first
n outputs of the scrambling sequence. If you set
mapping to 'signed', the output
data type is double. Otherwise, the output data type is logical.
Data Types: logical | double
PUCCH format 2 pseudorandom scrambling subsequence, returned as a logical
column vector or a numeric column vector. subseq
contains the values of the PRBS generator specified by
pn. If you set mapping to
'signed', the output data type is
double. Otherwise, the output data type is
logical.
Data Types: logical | double
Initialization value for PRBS generator, returned as a numeric
scalar.
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window.
Web browsers do not support MATLAB commands.
Sélectionner un site web
Choisissez un site web pour accéder au contenu traduit dans votre langue (lorsqu'il est disponible) et voir les événements et les offres locales. D’après votre position, nous vous recommandons de sélectionner la région suivante : .
Vous pouvez également sélectionner un site web dans la liste suivante :
Comment optimiser les performances du site
Pour optimiser les performances du site, sélectionnez la région Chine (en chinois ou en anglais). Les sites de MathWorks pour les autres pays ne sont pas optimisés pour les visites provenant de votre région.