generating a weibull channel on Matlab

Hi,
I am new here.. I just have a doubt on how to create a Weibull channel on Matlab. For Rayleigh, I know it can be given as: h = 1/sqrt(2)*[randn(nRx(jj),N) + j*randn(nRx(jj),N)] where, nRx is the length i assumed and N is the number of bits in this case.
But how can I generate Weibull channel in the same manner ?
Please help me in this regards. That will be much appreciated.
Thanks and regards,
Raj.

 Accepted Answer

hw = lamda.*(-log(rand(nRx(jj),N)).^(1/beta))
where lamda & beta are your Weibull parameters. BTW you can generate your Rayleigh channel by using beta = 2

4 Comments

Thanks a lot.. :)
now i can proceed with my project with your help.. :)
can any one help me what values can be substituted for Weibull parameters lamda and beta in the above equation hw= lamda.*(-log(rand(nRx(jj),N)).^(1/beta))
What about Rician Channel? How can I generate Rician channel in the same manner ? Please help me, Thanks and regards.
lamba ve beta kaç alınmalı burada?

Sign in to comment.

More Answers (0)

Categories

Find more on Statistics and Machine Learning Toolbox in Help Center and File Exchange

Asked:

on 27 Nov 2011

Commented:

on 27 Apr 2022

Community Treasure Hunt

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

Start Hunting!