%% Generate L-LTF Waveform
% Generate the L-LTF for a 40 MHz single antenna VHT packet.

cfgVHT = wlanVHTConfig('ChannelBandwidth', 'CBW40');
y = wlanLLTF(cfgVHT);
size(y)
plot(abs(y))
xlabel('Samples')
ylabel('Amplitude')

% The output L-LTF waveform contains 320 time-domain samples for a 40 MHz channel bandwidth.
% Copyright 2012 The MathWorks, Inc.