Connect with us

Matlab 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. Guest

    Yes, it is perfectly right.
    Generally, we assume coherent system, so the phase is perfectly
    estimated. hence the phase of the fading constant can be neglected.
    -SaiRamesh.
     
  3. James G.

    James G. Guest

    Davy, you seem to assume that there is no correlation in temporal and
    frequency domains, don't you?
     
  4. Davy

    Davy Guest

    Hi,

    Yes, there is no correlation in temporal and frequency domains.
    I have read the Probability book. The frequency shift is uniformly
    distribution. And the fading is Rayleigh distribution.

    Thanks!
    Davy
     
  5. Guest

    Hi,
    Yes, the phase has uniform distribution and the magnitude is
    Rayleigh distributed.
    I have a question assuming coherent BPSK transmission
    y=hx+n; where h is a real no whose pdf is Rayleigh. Neglecting the
    phase is a correct assumption?

    -Regards,
    -SaiRamesh.
     
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

-