log
Natural logarithm.
📝Syntax
R = log(M)
📥Input Arguments
Parameter Description
M a variable
📤Output Arguments
Parameter Description
R result of log: Natural logarithm.
📄Description

log computes the natural logarithm.

For real positive numbers:

$$\ln(x)$$

For complex numbers z:

$$\ln(z) = \ln|z| + i\arg(z)$$

where

$$|z|$$

is the modulus and

$$\arg(z)$$

is the argument of z.

💡Examples
x = [1+i,-i;i,2i];
r = log(x)
🔗See Also
expabsangle
🕔Version History
Version Description
1.0.0 initial version
Edit this page on GitHub