Hi everyone,

I wanted to know how to perform Rician fading in matlab.

I have done Rayleigh fading, which is simply:

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

From what I understand so far about Rician fading, it is computed in terms of a Rician factor K, and a scaling parameter Omega (I will assume Omega = 1). It is also computed in terms of Line-of-Sight components and Non-Line-of-Sight components.

So what i did was:

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

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

h = sqrt(K/(K + 1))*hLOS + sqrt(1/(K + 1))*hNLOS;

I want to confirm if this is correct or not. If it is not, please could someone offer some guidance on how to correct this.

Thank you.

More Yashil Morar's questions See All
Similar questions and discussions