Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: [Matlab] using rayleighchan.m

  1. Sep 7, 2011 #1
    1. The problem statement, all variables and given/known data
    Anybody knows how to use rayleighchan.m to accomplished the task given in Questions.pdf, the coding use to solve Questions.pdf is given in Matlab Code.doc. After running the code in Matlab Code.doc in Matlab programme the plot obtained is as shown in Plot.jpg

    2. Relevant equations

    View attachment Matlab Code.doc
    View attachment Questions.PDF

    3. The attempt at a solution

    n=sqrt(0.5)*randn(1,100001)+ j*sqrt(0.5)*randn(1,100001);
    chan = rayleighchan(0.1e-3,100);


    grid on
    xlabel('Time Delay (s)')
    ylabel('Normalised Autocorrelation')

    However, the plotted graph given is not right. Anybody knows how i can check the impulse response of chan (variable name) so that i can compare it with hw_norm (variable name) in Matlab Code.doc??
  2. jcsd
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook

Can you offer guidance or do you also need help?
Draft saved Draft deleted