Difference between revisions of "Random Source"

From GNU Radio
Jump to: navigation, search
Line 1: Line 1:
 +
[[Category:Block Docs]]
 
Generates a number of samples of random numbers of [min, max) meaning the max value won't be included. Repeat samples if specified.  Great for creating bytes of information for a modulator.
 
Generates a number of samples of random numbers of [min, max) meaning the max value won't be included. Repeat samples if specified.  Great for creating bytes of information for a modulator.
  

Revision as of 22:17, 12 March 2019

Generates a number of samples of random numbers of [min, max) meaning the max value won't be included. Repeat samples if specified. Great for creating bytes of information for a modulator.

Ex: With min=0 and max=2, the sequence 01110101... will be generated.

Supports an output of type int, short, and byte.

Example Flowgraph:

Random-source-ex.png