What factors contribute to the randomness in Channels generated by Ray Tracing?
3 次查看(过去 30 天)
显示 更早的评论
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 ^^
0 个评论
采纳的回答
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
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 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!