# exp

Exponential

## Syntax

* R = exp(M)

## Input argument

* M - a variable

## Output argument

* R - result of exp: exponential.

## Description

**exp** computes the exponential value.

If input argument is a complex number, **exp** computes exp(x) \* (cos(y) + i \* sin(y)) with z = x + i \* y.

## Example

```matlab
x = [1+i,-i;i,2i];
r = exp(x)
```

## See also

[conj](conj).

## History

| Version | Description     |
| ------- | --------------- |
| 1.0.0   | initial version |

## Author

Allan CORNET
