0
点赞
收藏
分享

微信扫一扫

matlab构建信道模型channel model, Rayleigh channel (NLoS), Rician channel (LoS)

江南北 2022-03-16 阅读 124

1. NLoS: 此时的channel coefficients的模服从Rayleigh distribution

        Rayleigh distribution: 当一个随机二维向量的两个分量呈独立的、有着相同的方差、均值为0的正态分布时,这个向量的模呈瑞利分布.

若channel coefficients用h = x + iy表示, x和y则服从一个均值为0, 相同方差的正态分布, 则 |h| 服从瑞利分布. x和y为何服从正态分布可以用大数定理来解释.

Matlab代码如下:

h = (randn(1,1)+1i*randn(1,1))/sqrt(2)

2. LoS: 此时的channel coefficients的模服从Rician channel

        are statistically independent normal random variables and θ is any real number.

Matlab代码如下:

h = (ones(1,1).* exp(1i*2*pi*rand(1,1)) + (randn(1,1)+1i*randn(1,1)))/sqrt(3)

LoS的channel coefficients就是在NLoS的基础上加上了一部分, 其代表了视线的那部分.

以上两个代码产生的channel coefficients都是归一化的, 因此其对transmit signal的gain为1. 欢迎大家的补充指正.

 

举报

相关推荐

0 条评论