From 09:00 PM Friday, August 7 - 10:30 AM CST Saturday, August 8, ni.com will be undergoing system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Table Of Contents

Natural Logarithm (G Dataflow)

Last Modified: August 28, 2017

Computes the base e natural logarithm of a specified input value.

If x is 0, ln is - . If x is not complex and is less than 0, ln is not a number (NaN).

For very small values of x, Natural Logarithm (Arg +1) is more accurate than adding 1 to x then using this node.

connector_pane_image
datatype_icon

x

An input to this operation.

This input supports scalar numbers, arrays or clusters of numbers, and arrays of clusters of numbers.

datatype_icon

ln

Result of the operation.

This output assumes the same numeric representation as x. When x is of the form x = a + bi, that is, when x is complex, the following equation defines the natural logarithm ln:
ln ( x ) = ln ( | x | ) + i arg ( x )
where arg( x) is the phase of x over the interval π < arg ( x ) π . In other words, the output uses the following equation:
ln ( x ) = ln ( a 2 + b 2 ) + i arctan 2 ( b , a )

Where This Node Can Run:

Desktop OS: Windows

FPGA: DAQExpress does not support FPGA devices

Web Server: Not supported in VIs that run in a web application


Recently Viewed Topics