No BSD License  

Highlights from
rayleigh fading channel generator

4.0

4.0 | 2 ratings Rate this file 16 Downloads (last 30 days) File Size: 1.64 KB File ID: #18580

rayleigh fading channel generator

by Amir Sarrafzadeh

 

02 Feb 2008 (Updated 04 Feb 2008)

This function generates normalized rayleigh samples based on Inverse DFT

| Watch this File

File Information
Description

The IDFT method is accurate than other methods for generation of rayleigh fading channel. This method used in this function.

Required Products Signal Processing Toolbox
MATLAB release MATLAB 7.2 (R2006a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (4)
25 Nov 2008 yang lin

thank you very much

26 Nov 2008 Mohammad Abdul Awal

helpful.
I think the code has little bug. It does not work if we set doppler shift (fd) is very small.
I made a small correction, and it works fine for me. just add one line.

fM=fd/fs; %normalized doppler shift
NfM=fftSize*fM;
kM=floor(NfM); %maximum freq of doppler filter in FFT samples

if (kM < 1) kM = 1; end % newly added line

% rest of the code
% ...

I am not sure though why it is like this, as I am not expert in channel analysis.

25 May 2009 Daniel ¬

thank you!!

25 Aug 2009 ryan

Thanks.

I have a question about the "sampling frequency(Hz)" in the codes: how to choose the value? According to the carrier frequency or others?

BR,

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
wireless Amir Sarrafzadeh 22 Oct 2008 09:46:04
rayleigh Amir Sarrafzadeh 22 Oct 2008 09:46:04
fading Amir Sarrafzadeh 22 Oct 2008 09:46:04
channel Amir Sarrafzadeh 22 Oct 2008 09:46:04
idft Amir Sarrafzadeh 22 Oct 2008 09:46:04
normalize Amir Sarrafzadeh 22 Oct 2008 09:46:04
inverse dft Amir Sarrafzadeh 22 Oct 2008 09:46:04

Contact us at files@mathworks.com