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!