[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Noise/random sources
From: |
Tom Rondeau |
Subject: |
Re: [Discuss-gnuradio] Noise/random sources |
Date: |
Fri, 27 Sep 2013 09:52:14 -0400 |
On Thu, Sep 26, 2013 at 11:08 PM, Jared Clements
<address@hidden> wrote:
> Forgot to cc the list.
>
> ---------- Forwarded message ----------
> From: "Jared Clements" <address@hidden>
> Date: Sep 26, 2013 7:27 PM
> Subject: Re: [Discuss-gnuradio] Noise/random sources
> To: "Marcus D. Leech" <address@hidden>
>
> Calling them with a seed of zero or greater will give the same "random"
> stream, seeding with different negative numbers gives different random
> sequences.
>
> Jared
>
> On Sep 26, 2013 7:17 PM, "Marcus D. Leech" <address@hidden> wrote:
>>
>> When I use multiple noise sources in a flow-graph, each with a different
>> seed, are they actually independent, or do they just call "random" or
>> "lrand" or
>> something, and thus setting different seeds has no effect?
As Jared said, the seed has to be a negative number:
http://gnuradio.org/doc/doxygen/classgr_1_1analog_1_1noise__source__c.html
--
Tom
GRCon13 Oct. 1 - 4
http://www.trondeau.com/grcon13