%% Sidelink Waveform Sampling Rate for 5 MHz Channel
% Calculate the sampling rate of a 5 MHz sidelink waveform after sidelink SC-FDMA modulation.
% Create a UE settings structure. Specify 25 resource blocks, which corresponds to 5 MHz channel bandwidth.

ue = struct('NSLRB',25);

%
% For the specified channel bandwidth, find the sidelink SC-FDMA modulation sampling rate.

slscfdmaInfo = lteSLSCFDMAInfo(ue);
samplingRate = slscfdmaInfo.SamplingRate

% Copyright 2012 The MathWorks, Inc.