What factors contribute to the randomness in Channels generated by Ray Tracing?

3 次查看(过去 30 天)
I'm reading example CDL Channel Model Customization with Ray Tracing and have some questions.
When I changed the random stream to
channel.RandomStream = 'Global stream';
(instead of 'mt19937ar with seed' as Default), I got the different channel after each run.
My question is: What factors can contribute to this randomness?
As I know, the locations of the BS and UE are the kept the same, the rays are the same, AoAs, AoDs,... so this makes me wondering. (And when I check the code, pathFilters are the same, but pathGains is different in each run)
Thank you ^^

采纳的回答

Divyanshu
Divyanshu 2024-12-16
When the 'RandomStream' property of channel is set to 'Global stream' it uses current global random number stream for random number generation.
I think your query is what is triggering the randomness for this property. The answer is that this randomness is not sourced or impacted from any other properties of the channel, instead this randomStream is used to initialize the ray phases and coupling by choosing random number from uniformly distributed numbers.
You can refer RandomStream for more details and RayCoupling for understanding the impact of RandomStream.
Hope it helps!
  3 个评论
Divyanshu
Divyanshu 2024-12-17
Yes that is the correct understanding and for other codes as well if you will refer the corresponding official documentation it would clearly specify what are default choices for each argument.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Wireless Communications 的更多信息

产品


版本

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by