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.
info = wlanS1GOFDMInfo(field,cfg,OversamplingFactor=osf)
returns OFDM information for the specified oversampling factor. For more information about
oversampling, see FFT-Based Oversampling.
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
SampleRate
Positive scalar
Sample rate of the waveform
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
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]
An oversampled signal is a signal sampled at a frequency that is
higher than the Nyquist rate. WLAN signals maximize occupied bandwidth by using small
guardbands, which can pose problems for anti-imaging and anti-aliasing filters. Oversampling
increases the guardband width relative to the total signal bandwidth, which increases the
number of samples in the signal.
This function performs oversampling by using a larger IFFT and zero pad when generating an
OFDM waveform. This diagram shows the oversampling process for an OFDM waveform with
NFFT subcarriers made up of
Ng guardband subcarriers on either side of
Nst occupied bandwidth subcarriers.