log

Core Math

Natural logarithm (ln). With two arguments, logarithm with given base.

Syntax

log(x)
log(x, base)

Examples

log(exp(1))
▶ Run
log(100, 10)
▶ Run

See Also

Try SimLab — Free MATLAB® Alternative

466 functions. Runs in your browser. No install.

Open SimLab

Stay Updated

Get notified about new simulations and tools. We send 1-2 emails per month.