%% Generate VHT-STF Waveform
% Create a VHT configuration object with an 80 MHz channel bandwidth. Generate and plot the VHT-STF waveform.

cfgVHT = wlanVHTConfig;
cfgVHT.ChannelBandwidth = 'CBW80';

vstfOut = wlanVHTSTF(cfgVHT);
size(vstfOut);
plot(abs(vstfOut))
xlabel('Samples')
ylabel('Amplitude')

% The 80 MHz waveform is a single OFDM symbol with 320 complex time-domain output samples. The waveform contains the repeating short training field pattern.
% Copyright 2012 The MathWorks, Inc.