%% Get Active Subchannel Indices of WUR Transmission
% Create a WUR configuration object for a transmission with two subchannels and four transmit antennas.

numSubchannels = 2;
cfgWUR = wlanWURConfig(numSubchannels,NumTransmitAntennas=4);

% Get the active subchannel indices for the transmission.

idx = getActiveSubchannelIndex(cfgWUR)

% Copyright 2020 The MathWorks, Inc.