Computes the natural logarithm of the input elements.
c = reallog(a)
Elements whose natural logarithm you want to compute. a is a scalar or an array of any dimension. The elements of a must be non-negative floating-point numbers.
Natural logarithm of the elements in a. c returns -Inf for all elements of a equal to zero. c is an array of the same size as a.
reallog is equivalent to log for positive real numbers but generates an error for negative real numbers.
A = [0.01:1:10] C = reallog(A)
Where This Node Can Run:
Desktop OS: Windows
FPGA: Not supported