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

    %% Generate L-STF Waveform  

%%  
%%
% Generate the L-STF waveform for a 40 MHz single antenna VHT packet.

%%
% Create a VHT configuration object. Use this object to generate the L-STF waveform.
cfgVHT = wlanVHTConfig('ChannelBandwidth','CBW40');
y = wlanLSTF(cfgVHT);
size(y)
plot(abs(y))
xlabel('Samples')
ylabel('Amplitude')
%%
% The output L-STF waveform contains 320 samples for a 40 MHz channel bandwidth.