MATLAB Answers

Fading channel coefficient calculation

114 views (last 30 days)
Shubham on 12 Jul 2013
Commented: jagan shanmukha on 17 Feb 2020
I want to generate coefficient h for Nakagami channel. But, when I use gamrand() function for that, I get values greater than 1.
In the eq. r(t) = hs(t) + n(t), I don't think h should be greater than 1. So what else do I have to do in order to generate h?

  1 Comment

ponvignesh shanmugam
ponvignesh shanmugam on 7 Feb 2017
r(t) = hs(t) + n(t) what does this mean? could you please explain

Sign in to comment.

Answers (2)

Pourya Alinezhad
Pourya Alinezhad on 12 Jul 2013
Edited: Pourya Alinezhad on 12 Jul 2013
hi, for generating Rayleigh channel we can code as below:
h1=sqrt(0.5)*(randn+1i*randn)*(1/sqrt(2));%rayleigh channel
h2=sqrt(0.5)*(randn+1i*randn)*(1/sqrt(2));%rayleigh channel
h=[h1 0 0 0 0 h2];
for a 6 tap channel.
i don't know what the function "gamrand()" you just mentioned is?.but anyway i think you've d forget to normalize your coefficients.


Shubham on 13 Jul 2013
Ok thanks. And sorry the function was gamrnd()
jagan shanmukha
jagan shanmukha on 17 Feb 2020
Could you please tell me how to implement the above for weibull fading channel

Sign in to comment.

Prasannakumar Goli
Prasannakumar Goli on 19 Feb 2015
Hi, yup., it is correct for rayleigh fading. but for rician can you please write coefficient?

  1 Comment

Akhil Singh
Akhil Singh on 3 Sep 2019
Hey, do you know how to generate coefficient for rician fading ?

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!