pre6GPhysicalChannelConfig
R2026bDescription
Add-On Required: This feature requires the 6G Exploration Library for 5G Toolbox add-on.
The pre6GPhysicalChannelConfig object enables you to create physical channel
configuration parameters for 6G research and prototyping. The object defines scrambling,
symbol modulation, layer mapping, and resource element (RE) mapping, without 5G-specific
restrictions.
Creation
Description
creates a
physical channel configuration object with default properties.ch = pre6GPhysicalChannelConfig
also specifies writable properties using one or more name-value arguments. For
example, ch = pre6GPhysicalChannelConfig(PropertyName=Value)Modulation="4096QAM" specifies 4096-QAM modulation.
Unspecified properties take their default values.
Properties
Physical resource block (PRB) allocation of the physical channel, specified as a vector of nonnegative integers.
Data Types: double
Reserved RE indices, specified as a vector of nonnegative integers. This property specifies 0-based RE indices that are unavailable for data transmission because reference signals (RSs) are present in a particular slot.
Data Types: double | uint32
Number of transmission layers, specified as a positive integer.
Data Types: double
Modulation scheme, specified as 'BPSK',
'pi/2-BPSK', 'QPSK',
'16QAM', '64QAM',
'256QAM', '1024QAM',
'4096QAM', 'Custom', or a string scalar.
This modulation scheme specifies the modulation type of the codeword and the
number of bits to use per modulation symbol. The number of bits per symbol is
equal to the Qm read-only property.
To use a custom modulation scheme, specify this property as
'Custom' and then specify the Constellation property as a complex vector of IQ
points.
| Modulation Scheme | Value of Qm (Number of Bits Per Symbol) |
|---|---|
'BPSK'
| 1 |
'pi/2-BPSK' | 1 |
'QPSK' | 2 |
'16QAM'
| 4 |
'64QAM'
| 6 |
'256QAM'
| 8 |
'1024QAM'
| 10 |
'4096QAM' | 12 |
'Custom' | log2(M), where M is the length of the
Constellation vector |
Data Types: char | string
Constellation for custom modulation, specified as a complex vector. The vector
entries are the IQ points that define the signal mapping. The length of the vector
must be 2N, where N is a positive integer and is equal
to the number of bits per symbol. When you specify this property, the Qm takes its value from N. The order of the
vector elements corresponds to the binary-coded symbol ordering, where the first
bit is the most significant bit and the last bit is the least significant bit.
The default value is a reference constellation for QPSK modulation.
Dependencies
This property applies only when you specify the Modulation property as
'Custom'.
Data Types: double | single
Complex Number Support: Yes
Scrambling sequence initialization value, specified as [] or
an integer in the range [0, 231 – 1]. The pre6GPhysicalChannel function uses this value to initialize the
pseudo-random binary sequence (PRBS) generator for scrambling the codeword bits.
When you use the default value, [], the function initializes
the PRBS generator using the NCellID property of its carrier
input object.
OFDM symbol allocation of the physical channel, specified as a two-element vector of nonnegative integers. The first element of this property represents the start of symbol allocation (0-based). The second element represents the number of allocated OFDM symbols.
When you set the second element of the vector to 0, no
symbol is allocated for the channel.
Data Types: double
Waveform type, specified as 'CP-OFDM' or
'DFT-s-OFDM'.
'CP-OFDM'— Thefunction generates symbols for a cyclic prefix OFDM (CP-OFDM) waveform. When you select this option, function does not apply transform precoding.pre6GPhysicalChannel'DFT-s-OFDM'— Thepre6GPhysicalChannelfunction generates symbols for a discrete Fourier transform-spread OFDM (DFT-s-OFDM) waveform. When you select this option, the function applies transform precoding.
Data Types: char | string
Option to enable frequency-domain spectral shaping (FDSS), specified as one of these values.
0(false) — Transform precoding applies DFT spreading only.1(true) — Transform precoding applies DFT spreading followed by frequency-domain spectral shaping using theFDSSCoefficientsproperty.
This property applies only when you specify the Waveform
property as 'DFT-s-OFDM'.
Data Types: double | logical
FDSS filter coefficients, specified as a row vector of real values. The vector defines time-domain finite impulse response (FIR) filter taps. After transform precoding, the function converts these taps to a frequency-domain filter and applies spectral shaping across the allocated subcarriers.
This property applies only when you specify the FDSS
property as 1 (true).
Data Types: double
This property is read-only.
Modulation order, represented as a positive integer. The modulation order is the number of bits per modulation symbol. This terminology is in accordance with 3GPP.
Data Types: double
Examples
Create a pre-6G carrier configuration object with default parameters.
carrier = pre6GCarrierConfig;
Create a reference signal configuration object. Specify physical resource blocks 10–19.
rs = pre6GReferenceSignalConfig(PRBSet=10:19);
Get 1-based reference signal indices for the reference signal configuration.
rsInd = pre6GReferenceSignalIndices(carrier,rs);
Create a data channel configuration object. Specify the same physical resource blocks as before. Use the reference signal indices as reserved REs in the data channel. You must subtract 1 because the reserved REs are 0-based in accordance with 5G.
ch = pre6GPhysicalChannelConfig(PRBSet=10:19, ...
ReservedRE = rsInd-1);Get 0-based data indices for the physical channel configuration.
dataInd = pre6GPhysicalChannelIndices(carrier,ch);
Verify that there is no overlap between the two sets of indices.
intersect(dataInd(:),rsInd(:))
ans = 0×1 empty uint32 column vector
Extended Capabilities
The
pre6GPhysicalChannelConfig function fully supports GPU arrays.
To run the function on a GPU, specify the input data as a gpuArray (Parallel Computing Toolbox). For more
information, see Run MATLAB Functions on a GPU (Parallel Computing Toolbox).
Version History
Introduced in R2026aTo model DFT-s-OFDM waveforms, specify the Waveform property
as "DFT-s-OFDM". To also apply frequency-domain spectral shaping
(FDSS), specify the FDSS property
as 1 (true). To set your own filter coefficients
for FDSS, specify the FDSSCoefficients
property.
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)