Table Of Contents

log

Version:
    Last Modified: January 9, 2017

    Computes the natural logarithm of the input elements.

    The natural logarithm of zero is -inf.

    Syntax

    c = log(a)

    Inputs

    a

    Scalar or array of any dimension of floating point or complex numbers.

    Outputs

    c

    Natural logarithm of the elements in a. c returns complex numbers for negative or complex elements in a. c is an array of the same size as a.

    A = [0.1, 1; 10, 100]
    C = log(A)

    Where This Node Can Run:

    Desktop OS: Windows

    FPGA: Not supported


    Recently Viewed Topics