%% Generate HT-SIG Waveform
% Generate an HT-SIG waveform for a single transmit antenna.
% Create an HT configuration object. Specify a 40 MHz channel bandwidth.

cfg = wlanHTConfig;
cfg.ChannelBandwidth = 'CBW40'

%
% Generate the HT-SIG waveform. Determine the size of the waveform.

y = wlanHTSIG(cfg);
size(y)

% The function returns a waveform having a complex output of 320 samples corresponding to two 160-sample OFDM symbols.
% Copyright 2012 The MathWorks, Inc.