MathWorks Machine Translation
The automated translation of this page is provided by a general purpose third party translator tool.
MathWorks does not warrant, and disclaims all liability for, the accuracy, suitability, or fitness for purpose of the translation.
Compute exp(x)-1 accurately for small values of x
y = expm1(x)
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
This function fully supports tall arrays. For
more information, see Tall Arrays.
exp | expm | log1p
Choose your country to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a location from the following list:
See all countries