NR TDD symbol based scheduling project in 5GToolBOX

For packet reception errors detection why the example use this function below in specific, how is the comparsion of the received and send packet to detect errors work???
function crcFlag = crcResult(~)
%crcFlag Calculate crc success/failure result
successProbability = 0.9; % For 0.1 block error rate (BLER)
if(rand(1) <= successProbability)
crcFlag = 0; % No error
else
crcFlag = 1; % Error
end
%crcFlag = (Flag & error)| Flag
end
Regards

Answers (1)

Hi Inas Sawad,
According to my understanding in that example a probability-based passthrough PHY without any signal processing is used. In passthrough PHY a probability-based mechanism is designed for simulating the packet reception errors When the randomly generated probability is lesser or equal to the successProbability then packet is accepted otherwise it’s discarded.
I hope this helps you!

Categories

Asked:

on 6 Jun 2021

Answered:

on 14 Oct 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!