+ Post New Thread
Results 1 to 2 of 2
  1. #1
    Newbie level 5
    Points: 226, Level: 2

    Join Date
    Dec 2011
    Posts
    10
    Helped
    0 / 0
    Points
    226
    Level
    2

    Rayleigh Fading Channl

    Hi all,

    I have got a Rayleigh Fading Channel Simulation code by Matlab but its performance about resulting BER is not right.

    The code list below:

    N=length(spread_sig);
    n = sigmaN*(randn(1,N)+1j*randn(1,N))/sqrt(2); % white gaussian noise, 0dB variance
    h = 1/sqrt(2)*(randn(1,N) + 1j*randn(1,N));
    % Rayleigh channel,the range of h submit to the Rayleigh distribution

    % Channel and noise Noise addition
    ch_spread_sig = h.*spread_sig + n;

    where sigmaN=sqrt(N/EB_NO)

    How to modify it?

    Best regards

    •   AltAdvertisement

        
       

  2. #2
    Full Member level 5
    Points: 3,373, Level: 13
    Ahmed Alaa's Avatar
    Join Date
    Jul 2009
    Location
    Egypt
    Posts
    317
    Helped
    68 / 68
    Points
    3,373
    Level
    13

    Re: Rayleigh Fading Channl

    use rayleighchan() MATLAB function directly.



--[[ ]]--