# exp

## Purpose

Exponential.

## Synopsis

    Y = exp(X)

## Description

`exp` is an elementary function that operates element-wise on matrices. Its domain includes complex numbers, which can lead to unexpected results if used unintentionally.

`Y = exp(X)` returns the exponential for each of the elements of `X`. For complex z = x + i*y, it returns the complex exponential,

Use `expm` for the matrix exponential.

## See Also

    expm, log, log10

(c) Copyright 1994 by The MathWorks, Inc.