Noise/random sources

Forgot to cc the list.
---------- Forwarded message ----------
From: “Jared C.” [email protected]
Date: Sep 26, 2013 7:27 PM
Subject: Re: [Discuss-gnuradio] Noise/random sources
To: “Marcus D. Leech” [email protected]

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 Thu, Sep 26, 2013 at 11:08 PM, Jared C.
[email protected] wrote:

sequences.

Jared

On Sep 26, 2013 7:17 PM, “Marcus D. Leech” [email protected] 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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs