www.gusucode.com > wlan 源码程序 matlab案例代码 > wlan/DemodulateLLTFforNonHTFormatTransmissionExample.m

    %% Demodulate L-LTF for Non-HT Format Transmission  
% Demodulate the L-LTF used in a non-HT OFDM transmission, after passing the
% L-LTF through an AWGN channel.   

%% 
% Create a non-HT configuration object and use it to generate an L-LTF signal. 
cfg = wlanNonHTConfig;
txSig = wlanLLTF(cfg);  

%% 
% Pass the L-LTF signal through an AWGN channel. Demodulate the received
% signal. 
rxSig = awgn(txSig,15,'measured');
y = wlanLLTFDemodulate(rxSig,'CBW20');