MATLAB Function Reference Previous page   Next Page
expm1

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

Syntax

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, log1p


Previous page  expm eye Next page

© 1994-2005 The MathWorks, Inc.