how to convert cdl channel to awgn channel in nrpdsch link level simulation
4 次查看(过去 30 天)
显示 更早的评论
I am simulating nr pdsch throughput using 5g tool box in cdl channel.How can I do it for Awgn channel
0 个评论
回答(2 个)
Sriram Tadavarty
2021-1-5
Hi Govindu,
The NR PDSCH Throughput example does addition of AWGN to the waveform passed through the CDL/TDL channel.
So, AWGN is already present in the example.
Hope this helps.
Regards,
Sriram
0 个评论
PAVAN KUMAR
2023-6-26
Hi Sriram Tadavarty...
If I want to have only AWGN channel for PUSCH performance analysis, how to define the channel ? I want to simulate 'no fading' (Ideal) case.
Regards
Pavan
2 个评论
Sriram Tadavarty
2023-6-26
Hi Pavan,
In the example, you can comment out this line and assign txWaveform to rxWaveform as such.
% [rxWaveform,pathGains,sampleTimes] = channel(txWaveform);
rxWaveform = txWaveform;
Also, use practical channel estimator by setting the simParameters.PerfectChannelEstimator to false. The perfect channel estimator is set to false because it requires the knowledge of channel path gains and sample times.
Hope this helps.
Regards,
Sriram
Note: I think you asked a question in the Answer section, rather than Comment to the previous answer.
PAVAN KUMAR
2023-6-27
Hi Sriram... Thanks for the help..
I do not want to have HARQ for the link level simulation. I am trying to run the same example without using HARQ by chaning following lines. Can you confirm me whether the result given by this modified code is correct ? Or am I missing anything ?
Regards
Pavan
% simParameters.PUSCHExtension.NHARQProcesses = 16;
simParameters.PUSCHExtension.EnableHARQ = false;
encodeULSCH.MultipleHARQProcesses = false;
decodeULSCH.MultipleHARQProcesses = false;
% harqSequence = 0:puschextra.NHARQProcesses-1;
% harqEntity = HARQEntity(harqSequence,rvSeq);
%if harqEntity.NewData
% trBlk = randi([0 1],trBlkSize,1);
% setTransportBlock(encodeULSCH,trBlk,harqEntity.HARQProcessID);
% if harqEntity.SequenceTimeout
% resetSoftBuffer(decodeULSCHLocal,harqEntity.HARQProcessID);
% end
% end
trBlk = randi([0 1],trBlkSize,1);
setTransportBlock(encodeULSCH,trBlk);
% procstatus = updateAndAdvance(harqEntity,blkerr,trBlkSize,puschIndicesInfo.G);
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Oceanography and Hydrology 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!