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

Opportunities for recent engineering grads.

## 0 Comments