%% Create DMG Configuration Object and Modify Default Settings
% Create a DMG configuration object and use Name,Value pairs to override default settings.

dtpgrouppairs = (randperm(42)-1)';
cfgDMG = wlanDMGConfig('MCS',13,'TonePairingType','Dynamic', ...
    'DTPGroupPairIndex',dtpgrouppairs)

% Copyright 2012 The MathWorks, Inc.