The sequence generation is described in the spec (TS 38.211 5.2.1) and is implemented in the MATLAB 5G Toolbox function nrPRBS. Starting on line 61, there is a block of code:
% If a subsequence was requested, extract the subsequence
if ~isscalar(n) prbs = prbsInternal(end-n(2)+1:end);else prbs = prbsInternal;end
I have two related questions, What is the reason for requesting a subsequence? How does the UE know where to look for this DMRS sequence?
Best Answer