This function generates normalized rayleigh samples based on Inverse DFT method as was proposed by David J. Young, and Norman C. Beaulieu "The Generation of Correlated Rayleigh Random Variates by Inverse Discrete Fourier Transform, "
where 10000=number of needed samples
fftsize: size of fft which used
numBlocks: number of samples/fftsize
fs: sampling frequency(Hz)
fd: doppler shift(Hz)
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.