Products & Services Solutions Academia Support User Community Company

Learn more about MATLAB   

exp - Exponential

Syntax

Y = exp(X)

Description

Y = exp(X) returns the exponential for each element of X. exp operates element-wise on arrays. For complex , exp returns the complex exponential . Use expm for matrix exponentials.

Examples

Find the value of :

y=exp(i*pi)

returns

y =

  -1.0000 + 0.0000i

See Also

expm | log

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS