FUNCTION REFERENCE

reallog

Natural logarithm of nonnegative real input.

Natural logarithm of nonnegative real input.

Syntax

Y = reallog(X)

Stops with an error when an element is negative instead of returning a

complex result.

Example

reallog(1)   % 0

Differences from MATLAB: complex input gives an error.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.