Log10

From GNU Radio
Revision as of 09:09, 11 July 2019 by Notou (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

output = n*log10(input) + k

Only handles Float input and output.

This block handles null and negative samples by using, for each sample, the max between the sample and the minimum positive value for a float32 number.

Parameters

n
Scalar multiplicative constant
vlen
Input vector length
k
Scalar additive constant

Example Flowgraph

This flowgraph shows how the Log10 basic usage. The negative value handling can be seen.

Log10-sine-ex-graph.png

Log10-sine-ex-output.png

Source Files

C++ files
Float input
Header files
Float input
Public header files
Float input
Block definition
GRC yaml