FUNCTION REFERENCE
logm
Matrix logarithm.
Matrix logarithm.
Syntax
L = logm(A)Principal logarithm by Schur decomposition and inverse scaling and
squaring. The result is complex when A has negative real eigenvalues.
Example
logm([1 2; 3 4]) % complex 2-by-2Differences from MATLAB: real and logical input only. A singular matrix
raises an error here.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.