|Download Help (Windows Only)|
Owning Class: basic
Requires: MathScript RT Module
c = reallog(a)
Computes the natural logarithm of the input elements. reallog is equivalent to log for positive real numbers but generates an error for negative real numbers.
|a||Specifies a positive real scalar, vector, or matrix.|
|c||Returns the natural logarithm of the elements in a. c returns -Inf for all elements of a equal to zero. c is a matrix of the same size as a.|
The following table lists the support characteristics of this function.
|Supported in the LabVIEW Run-Time Engine||Yes|
|Supported on RT targets||Yes|
|Suitable for bounded execution times on RT||Yes|
A = [0.01:1:10]
C = reallog(A)