MATLAB Answers

raj0689

generating a weibull channel on Matlab

Asked by raj0689
on 27 Nov 2011
Accepted Answer by bym

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.

  0 Comments

Products

No products are associated with this question.

1 Answer

bym
Answer by bym
on 27 Nov 2011
 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

  2 Comments

raj0689
on 27 Nov 2011

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))


Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply today