NR TDD symbol based scheduling project in 5GToolBOX

1 view (last 30 days)
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)

Anshika Chourasia
Anshika Chourasia on 14 Oct 2021
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

Find more on WLAN Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!