log(m)

The log(m) function returns the log base e of each element.

Example

OML

>> m=[1 -2;-3 4]

1 -2

-3 4

>> log(abs(m))

0 0.693147

1.09861 1.38629