Polybench® for biosignals / reference 1.34.1
Results in the 10 base logarithm of the input value

Log10(V)

Overview

Calculates the 10 base logarithm of the input vector field by field.

By default, this operator will not use complex calculation to determine the output, and will give an operation error when a wrong input (like the logarithm of a negative number) is detected. If this happens, the previous valid output vector will again be put at the output.

If required, the user can set the ComplexOutput property to true, and this will allow the analysis of 10 base logarithms of negative numbers or of complex numbers.

Operator ports

Input V in: Specific sample type, see below.

Output log10(V_in): Floating point value buffers

Properties

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

ComplexOutput
type: True or False
Whether the output can contain complex numbers
Select one of those presets:
True or False
True may also be read like 'yes' and false like 'no'

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

This operator computes the 10 base logarithm of the input vector field by field.

If the ComplexOutput property is set to false (default), the operator will only use the real part of the incoming vector and will calculate, field by field, its logarithm.

The operator detects invalid values, and will state an error message when such values are detected. If the log10 function results in an invalid value in any field of the vector, then the last valid vector will remain unchanged at the output.

The log10 function in the default setup results in invalid values, when the input value is negative.

If the ComplexOutput property is set to true, negative input values will result in a complex output. The output is evaluated in the following manner:

If a specific field in the input vector is indicated by r * e ^ iA (complex number in polar form), the output will be:

log10(Vin) = log10(r) + iA * log10(e)