FUNCTION REFERENCE
expm1
Accurate exp(x) - 1 for small x.
Accurate exp(x) - 1 for small x.
Syntax
expm1(X)Returns exp(x) - 1 for each element without losing precision near zero.
Example
expm1(0) % 0Differences from MATLAB: Real double 2-D arrays, one output; complex and other classes are rejected.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.