Getting PathDelays in nrCDLChannel

9 views (last 30 days)
Riccardo Bonetti
Riccardo Bonetti on 11 Jan 2022
Answered: vidyesh on 1 Dec 2023
After estimating the channel as it is done is "CDL Channel Model Customization with Ray Tracing" (CDL Channel Model Customization with Ray Tracing - MATLAB & Simulink - MathWorks Italia) I would like to ask if there is a way to get ALL the PathDelays that the channel considers.
Referring to the following citation "The ray tracer finds individual rays between the base station and the UE, while the CDL channel models clusters of rays whose properties are determined by the cluster average path gain (AveragePathGains)". So my question should now be more clear: is there a way to see the specifics of all rays in the modeled clusters?
I need all the PathDelays because I should implement a Weighted Least Square algorith for TimeOfArrival (ToA) estimation where the weights are represented by the PathGains.
Thank you very much in advance.

Answers (1)

vidyesh
vidyesh on 1 Dec 2023
Hi Riccardo
I understand that you want to calculate values of all path delays, not just the average path gains in the CDL Channel Model.
The example mentioned in the question contains a function that calculates all the individual path gains and stores them in the ‘pathGains’ variable. You can find the relevant line of the code here:
pathGainsis a 4-dimensional matrix, and the 4th dimension is equal to the number of rays from the transmitter to the receiver.
Refer the below documentation on ‘nrCDLChannel’ object for detailed information on how the ‘pathGains’ matrix is calculated: https://www.mathworks.com/help/5g/ref/nrcdlchannel-system-object.html
Hope this answer helps

Community Treasure Hunt

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

Start Hunting!