Nominal sample rate
Get the sample rate for a WLAN wake-up radio (WUR) transmission.
cfgWUR = wlanWURConfig; fs = wlanSampleRate(cfgWUR)
fs = 20000000
Get the sample rate for WLAN transmissions with specified bandwidths.
Specify a channel bandwidth of 160 MHz
cbw = 'CBW160';
Return the sample rate.
fs = wlanSampleRate(cbw)
fs = 160000000
Get the sample rate for an oversampled high-efficiency trigger-based (HE TB) WLAN transmission.
cfgHETB = wlanHETBConfig; osf = 2.5; fs = wlanSampleRate(cfgHETB,Oversamplingfactor=osf)
fs = 50000000
cfgFormat— WLAN transmission parameters
cbw— Channel bandwidth
Channel bandwidth, specified as one of these values.
'CBW1' — Channel bandwidth of 1
'CBW2' — Channel bandwidth of 2
'CBW4' — Channel bandwidth of 4
'CBW5' — Channel bandwidth of 5
'CBW8' — Channel bandwidth of 8
'CBW10' — Channel bandwidth of 10
'CBW16' — Channel bandwidth of 16
'CBW20' — Channel bandwidth of 20
'CBW40' — Channel bandwidth of 40
'CBW80' — Channel bandwidth of 80
'CBW160' — Channel bandwidth of 160
'CBW320' — Channel bandwidth of 320
osf— Oversampling factor
1(default) | scalar greater than or equal to 1
Oversampling factor, specified as a scalar greater than or equal to 1.
fs— Sample rate
Sample rate, in samples per second, returned as a scalar.
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 guardband width relative to the total signal bandwidth, thereby increasing 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 comprising Ng guardband subcarriers on either side of Nst occupied bandwidth subcarriers.