Connect with us

Rayleigh Fading Channel Simulation?

Discussion in 'Electronic Basics' started by Davy, Mar 6, 2006.

Scroll to continue with content
  1. Davy

    Davy Guest

    Hi all,

    I have got a Rayleigh Fading Channel Simulation code by Matlab.

    The code list below:
    % Rayleigh fading
    a = sqrt(0.5)*( randn( 1, symbols_per_frame) + j*randn( 1,
    symbols_per_frame) );
    % complex noise
    noise = sqrt(variance)*( randn(1,symbols_per_frame) +
    j*randn(1,symbols_per_frame) );
    % in all
    code_fade = a.*code + noise;

    Is the code right? If not right, how to modify it?

    Best regards,
    Davy
     
  2. Mike Yarwood

    Mike Yarwood Guest

    You might want to low-pass filter a to give you rayleigh fading which isn't
    quite so broadband - this looks white to me.
    Also may want to scale a so that you get a particular fade probability
    w.r.t. mean predetection signal power.

    Best of luck - Mike
     
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-