Correlated Rayleigh Fading Simulator

版本 1.0.0.0 (1.6 KB) 作者: Yasir Ahmed
This program is used to generate a correlated Rayleigh fading sequence. www.raymaps.com
1.6K 次下载
更新时间 2011/10/13

查看许可证

The method for generating a Rayleigh random sequence with the desired temporal correlation is given below (modified from Theodore S. Rappaport Text).

1. Define ‘N’ the number of Gaussian RVs to be generated, ‘fm’ the Doppler frequency in Hz, ‘fs’ the sampling frequency in Hz, ‘df’ the frequency spacing which is calculated as df=(2*fm)/(N-1) and ‘M’ total number of samples in frequency domain which is calculated as M=(fs/df)+1.

2. Generate two sequences of N/2 complex Gaussian random variables. These correspond to the frequency bins up to fm. Take the complex conjugate of these sequences to generate the N/2 complex Gaussian random variables for the negative frequency bins up to -fm.

3. Multiply the above complex Gaussian sequences ‘g1′ and ‘g2′ with Doppler Spectrum ‘S’ generated from -fm to fm. Calculate the spectrum at -fm and +fm by using linear extrapolation.

4. Extend the above generated spectra from -fs/2 to +fs/2 by stuffing zeros from -fs/2 to -fm and fm to fs/2. Take the IFFT of the resulting spectra X and Y resulting in time domain signals x and y.

5. Add the absolute values of the resulting signals x and y in quadrature. Take the absolute value of this complex signal. This is the desired Rayleigh distributed envelope with the required temporal correlation.

For LTE system simulation the wireless channel may be modeled as a time varying FIR filter with each filter tap generated by the above given method.

引用格式

Yasir Ahmed (2024). Correlated Rayleigh Fading Simulator (https://www.mathworks.com/matlabcentral/fileexchange/33260-correlated-rayleigh-fading-simulator), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2011a
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0