Random Source: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
No edit summary
No edit summary
Line 7: Line 7:
Example Flowgraph:
Example Flowgraph:


[[File:Random-source-ex.png|600px]]
[[File:Random-source-ex.png|800px]]

Revision as of 05:30, 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