NR TDD symbol based scheduling project in 5GToolBOX

3 ビュー (過去 30 日間)
INAS SAWAD
INAS SAWAD 2021 年 6 月 6 日
回答済み: Anshika Chourasia 2021 年 10 月 14 日
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

回答 (1 件)

Anshika Chourasia
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!

カテゴリ

Help Center および File Exchange5G Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by