This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.


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 be zero.

More About

collapse all

Tall Array Support

This function fully supports tall arrays. For more information, see Tall Arrays.

See Also

| |

Introduced before R2006a

Was this topic helpful?