Polybench® Reference
Results in 10Log of the input signal.

10Log(S)

Overview

This operator calculates the 10 base logarithm.
The 10Log is applied to every input value on each channel. The result is written to the same channel at the output.

Operator ports

Input S: Floating point values

Output 10log(S): Floating point values

Properties

Find more information about changing properties here: "Properties Viewer"

Caption
type: Word or phrase
The name of the object in the project. This name must not contain '.', '$' nor '@' characters.

For more information about the rules and usage of the Caption property, please refer to "Caption property - background and usage".

Documentation
type: See description
Optional documentation of this object. If this object is an operator, the Documentation text is displayed below the operator symbol.

Details

A calculation of 10Log of the value 0 or negative values is not allowed. If the 10Log calculation cannot be performed, the operator outputs the last valid sample once more. The symbol of the 10Log will then display a warning.

Examples

Example: Log - Ln - Exp Demo
This demo shows the behavior of the 10Log, Ln and e^y operators. Press 'Start displays' first so that the numerical displays display values. Then type values in the Input Field.
Note the behavior of the operators when they are forced to do illegal calculations. They will show a warning about any problems, but keep their output unchanged.
Examples\DF0204012_001_10Log_Demo.xmc