Difference between revisions of "Random Source"

From GNU Radio
Jump to: navigation, search
Line 6: Line 6:
 
Supports an output of type int, short, and byte.
 
Supports an output of type int, short, and byte.
  
Example Flowgraph:
+
== Example Flowgraph ==
  
 
[[File:Random-source-ex.png|800px]]
 
[[File:Random-source-ex.png|800px]]

Revision as of 03:13, 15 July 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