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.
Thien Hieu
Thien Hieu 2024년 12월 17일
Thank you so much ^^ wish you all the bests

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Propagation Channel Models에 대해 자세히 알아보기

제품


릴리스

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by