Block Group: | Math Operations |
Icon: |
![]() |
The Logarithm block calculates the logarithm of a number using a specified base. A negative input value causes a NaN error result to be returned.
The following properties of the Logarithm block can take input and give output.
input specifies the number to get the logarithm for.
base specifies the base for the logarithm.
The following property of the Logarithm block can give output but cannot take input.
The following image shows four examples of the Logarithm block.