info = wlanS1GOFDMInfo(field,cfg)
returns info, a structure containing orthogonal frequency-division
multiplexing (OFDM) information for the input field of a sub-1-Ghz (S1G) transmission
parameterized by configuration object cfg.
OFDM information, returned as a structure containing these fields.
Name
Values
Description
Data Types
FFTLength
Positive integer
Length of the fast Fourier transform (FFT)
double
CPLength
Positive integer
Cyclic prefix length, in samples
double
NumTones
Nonnegative integer
Number of active subcarriers
double
NumSubchannels
Positive integer
Number of 20-MHz subchannels. The wlanS1GOFDMInfo
function always returns this field as 1 when the packet
format defined by the cfg input is
'S1G-1M', indicating a single 1-MHz subchannel. For all
other packet formats, the subchannel bandwidth is 2 MHz.
double
ActiveFrequencyIndices
Column vector of integers in the interval
[-FFTLength/2, (FFTLength/2 –
1)]
Indices of active subcarriers. Each element of this field is the index of
an active subcarrier, such that the direct current (DC) or null subcarrier is
at the center of the frequency band.
double
ActiveFFTIndices
Column vector of integers in the interval [1,
FFTLength]
Indices of active subcarriers within the FFT
double
DataIndices
Column vector of integers in the interval [1,
NumTones]
Indices of data within the active subcarriers
double
PilotIndices
Column vector of integers in the interval [1,
NumTones]
Indices of pilots within the active subcarriers
double
Data Types: struct
Extended Capabilities
C/C++ Code Generation Generate C and C++ code using MATLAB® Coder™.
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.