Does anybody have Octave code to draw Rayleigh fading envelope?

Steve Thompson thompson.steve.c at gmail.com
Thu Oct 2 09:38:45 CDT 2008


If you are looking for a channel simulator based on Jakes- and
Rayleigh-type statistics, you can find one here:

  http://elsteve.com/code/20060112_multipath/

Steve

On Thu, Oct 2, 2008 at 7:33 AM, Steve Thompson
<thompson.steve.c at gmail.com> wrote:
> Is this what you mean?
>
>  envelope_variance = 1;
>  r = linspace (0, 3, 100);
>  rayleigh_pdf = 2 * r / envelope_variance ...
>    .* exp (-r.^2 / envelope_variance);
>  plot (r, rayleigh_pdf)
>
> http://en.wikipedia.org/wiki/Rayleigh_fading
>
> ???
>
> Steve
>
> On Wed, Oct 1, 2008 at 8:29 PM, Illidan Modeler
> <illidan.modeler at gmail.com> wrote:
>> Thanks for your reply.
>>
>> There are a number of papers and scripts that deal with BER-SNR curve.
>> But I need to compute amplitude-time curve, as given in a paper by J.
>> I. Smith in 1975, with the title "a computer generated multipath
>> fading simulation". This
>> paper even gives listing of source code. But it's not Matlab/Octave
>> code (seems like Fortran that I don't read).
>>
>> On Thu, Oct 2, 2008 at 5:22 AM, David Bateman <dbateman at dbateman.org> wrote:
>>> Illidan Modeler wrote:
>>>>
>>>> Hi List,
>>>>
>>>> I did get from mathworks.com some pieces of code . Those code snippets
>>>> only draw BER curve. But I need to draw the envelope. Would anybody
>>>> share that kind of code?
>>>>
>>>
>>> What do you mean by "the envelope"? The only things that makes sense in the
>>> context you discuss are BER/PER/FER against one of SNR/EbNo/Range....
>>>
>>> D.
>>>
>>> --
>>> David Bateman                                dbateman at dbateman.org
>>> 35 rue Gambetta                              +33 1 46 04 02 18 (Home)
>>> 92100 Boulogne-Billancourt FRANCE            +33 6 72 01 06 33 (Mob)
>>>
>>
>>
>>
>> --
>> Northern Capital, the Republic of Pandaria
>> http://illidan.cublog.cn
>>
>>
>>
>> --
>> Northern Capital, the Republic of Pandaria
>> http://illidan.cublog.cn
>> _______________________________________________
>> Help-octave mailing list
>> Help-octave at cae.wisc.edu
>> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
>>
>


More information about the Help-octave mailing list