Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Logarithm Base X

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Computes the base x logarithm of y.

(x>0, y>0). If y is 0, the output is –. When x and y are both non-complex and x is less than or equal to 0, or y is less than 0, the output is NaN. The connector pane displays the default data types for this polymorphic function.

Example

y can be a scalar number, array or cluster of numbers, array of clusters of numbers, and so on.
x can be a scalar number, array or cluster of numbers, array of clusters of numbers, and so on.
logx(y) is the logarithm of y to the base x. When x and y are complex, the following equation defines logx(y):

logx(y) = ln(y)/ln(x)

Refer to the Natural Logarithm function for more information.

Example

Refer to the Exponential VI in the labview\examples\general\functions\Mathematics\Elementary & Special Functions\Exponential Functions directory for an example of using the Logarithm Base X function.


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit