Documentation

ltePHICHDeprecode

PHICH deprecoding

Syntax

  • out = ltePHICHDeprecode(in,cp,ngroup)
    example
  • out = ltePHICHDeprecode(enb,ngroup,in)

Description

example

out = ltePHICHDeprecode(in,cp,ngroup) performs deprecoding of the N-by-P matrix of antennas, in, onto NU=P layers, given cyclic prefix length, cp, and PHICH group, ngroup. N is the number of symbols per antenna. It performs PHICH deprecoding using matrix pseudoinversion to undo the processing described in TS 36.211, Section 6.9.2 [1]. This function returns out, an M-by-NU matrix, where NU is the number of transmission layers and M is the number of symbols per layer.

out = ltePHICHDeprecode(enb,ngroup,in) performs deprecoding of the N-by-P matrix of antennas, in, onto NU=P layers, for PHICH group, ngroup, using the cell-wide settings structure, enb.

Examples

collapse all

Deprecode PHICH symbols2

This example shows the deprecoding of a set of physical HARQ indicator channel (PHICH) symbols for reference measurement channel (RMC) R.11.

Initialize a cell-wide parameter configuration structure, enb, for RMC R.11

rc = 'R.11';
enb = lteRMCDL(rc);
nLayers = enb.PDSCH.NLayers;

Generate an arbitrary set of input symbols as the PHICH symbols

re = randi([0,1],40,nLayers);
im = randi([0,1],40,nLayers);
symbols = complex(re, im);

Precode the PHICH symbols using normal cyclic prefix (setting for enb.CyclicPrefix as per R.11) and PHICH group 1

nGroup = 1;
precodedSym = ltePHICHPrecode(symbols ,enb.CyclicPrefix,nGroup);

Deprecode the precoded PHICH symbols using normal cyclic prefix and PHICH group 1

out = ltePHICHDeprecode(precodedSym,enb.CyclicPrefix,nGroup);

Check PHICH symbols vs. deprecoded PHICH symbols

isequal(symbols,out)
ans =

     1

Input Arguments

collapse all

in — Precoded input symbolscomplex-valued numeric matrix

Precoded input symbols, specified as a complex-valued numeric matrix of antennas. It has size N-by-P, where N is the number of symbols per antenna and P is the number of antennas. The number of input symbols, N, must be a multiple of the number of antennas, P.

Data Types: double
Complex Number Support: Yes

cp — Cyclic prefix length'Normal' | 'Extended'

Cyclic prefix length, specified as a string.

Data Types: char

ngroup — PHICH group numberpositive scalar integer (≥1)

PHICH group number, specified as a positive scalar integer of 1 or more.

Data Types: double

enb — Cell-wide settingsscalar structure

Cell-wide settings, specified as a scalar structure. enb contains the following fields.

Parameter FieldRequired or OptionalValuesDescription
CyclicPrefixOptional

'Normal' (default), 'Extended'

Cyclic prefix length

Data Types: struct

Output Arguments

collapse all

out — Deprecoded output symbolsnumeric matrix

Deprecoded output symbols, returned as a numeric matrix. It has size M-by-NU, where M is the number of symbols per layer and NU is the number of transmission layers.

Data Types: double
Complex Number Support: Yes

References

[1] 3GPP TS 36.211. "Physical Channels and Modulation." 3rd Generation Partnership Project; Technical Specification Group Radio Access Network; Evolved Universal Terrestrial Radio Access (E-UTRA). URL: http://www.3gpp.org.

Introduced in R2014a

Was this topic helpful?