Version:

Computes the base e exponential of the input elements minus 1. For a small input, the expm1 function is more accurate than using exp and subtracting 1 from the output.

Syntax

c = expm1(a)

a

Scalar or array of any dimension of floating point or complex numbers.

c

Base e exponential, minus 1, of the elements in a. c is an array of the same size as a.