Difference between revisions of "Random Source"

From GNU Radio
Jump to: navigation, search
(Created page with "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 fo...")
 
Line 4: Line 4:
  
 
Supports an output of type int, short, and byte.
 
Supports an output of type int, short, and byte.
 +
 +
Example Flowgraph:
 +
 +
[[File:Random-source-ex.png]]

Revision as of 05:29, 27 December 2018

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