Skip to Main Content Skip to Search
Product Documentation

expm1 - Compute exp(x)-1 accurately for small values of x

Syntax

y = expm1(x)

Description

y = expm1(x) computes exp(x)-1, compensating for the roundoff in exp(x).

For small x, expm1(x) is approximately x, whereas exp(x)-1 can be zero.

See Also

exp | expm | log1p

  


Free MATLAB Interactive Kit

Explore how to use MATLAB to make advancements in engineering and science.


Download free kit

Trials Available

Try the latest version of MATLAB and other MathWorks products.


Get trial software
 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS