lteSymbolModulate
Symbol modulation
Description
Examples
Generate QPSK Modulated Symbols
Map bit values to QPSK modulated symbols.
out = lteSymbolModulate([0; 1; 1; 0], 'QPSK')
out = 2×1 complex
0.7071 - 0.7071i
-0.7071 + 0.7071i
Input Arguments
in
— Input bits
column vector | cell array
Input bits, specified as a column vector, where each bit is either 0
or
1
. The vector length must be a multiple of two for
QPSK, four for 16-QAM, six for 64-QAM, eight for 256-QAM, or ten for
1024-QAM. The bit values must be 0 or 1.
Alternatively, specify in
as a cell array
containing one bit vector or a cell array containing two bit vectors.
Data Types: double
| cell
mod
— Modulation scheme
'BPSK'
| 'QPSK'
| '16QAM'
| '64QAM'
| '256QAM'
| '1024QAM'
| cell array
Modulation scheme, specified as 'BPSK'
, 'QPSK'
,
'16QAM'
, '64QAM'
,
'256QAM'
, or '1024QAM'
.
Alternately, you can specify mod
as a cell
array of one or two modulation schemes. The number of modulation schemes
in mod
cannot exceed the number of bit vectors
specified by in
. If in
specifies two bit
vectors and mod
specifies one modulation scheme,
the same modulation is used for both bit vectors.
Data Types: char
| cell
Output Arguments
out
— Complex modulated output symbols
column vector
Complex modulated output symbols, returned as a column vector.
The symbols use the modulation scheme specified in mod
.
Data Types: double
Complex Number Support: Yes
Version History
Introduced in R2014a
See Also
lteSymbolDemodulate
| lteLayerMap
| lteDLPrecode
| lteULScramble
MATLAB Command
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.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)