%% Demodulate HT-LTF in AWGN
% Create an HT configuration object.

cfg = wlanHTConfig;

%
% Generate an HT-LTF signal based on the object.

x = wlanHTLTF(cfg);

%
% Pass the HT-LTF signal through an AWGN channel.

y = awgn(x,20);

%
% Demodulate the received signal.

z = wlanHTLTFDemodulate(y,cfg);

%
% Display the scatter plot of the demodulated signal.

scatterplot(z)

% Copyright 2012 The MathWorks, Inc.