MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn moreOpportunities for recent engineering grads.

Apply Today**New to MATLAB?**

Asked by raj0689
on 27 Nov 2011

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.

*No products are associated with this question.*

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

yogesh chinnaraja sundararajan
on 4 Apr 2013

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

## 0 Comments