Rayleigh fading program example
조회 수: 4 (최근 30일)
이전 댓글 표시
- z = randn(1)
- sigma = 1;
- x1=sigma*sqrt(-2*log(1-z))
- histogram(x1,'Normalization','pdf')
- x=linspace(0,6,100);
- pdf=x/sigma^2.*exp((-x.^2)/(2*sigma^2))
- hold on
- plot(x,pdf,'r')
- legend('Rayleigh','test')
I am trying to implement rayleigh fading here. Furthermore, I am trying to implement in my Spread spectrum program. Can anyone help me in providing their suggestion if this piece of code would work or not???
Also, what is the best method to use rayleigh in spread spectrum. should I multiply the pdf value to the receved signal in my system or is there any other method to do so??
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Propagation and Channel Models에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!