NR TDD symbol based scheduling project in 5GToolBOX
1 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(1 个)
Anshika Chourasia
2021-10-14
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!
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!