Exponential

Navigation:  Language Reference > Functions > Arithmetic >

Exponential

Previous pageReturn to chapter overviewNext page

Syntax

Y = exp(X);

Description

Returns the exponential function of X or the elements of X.

 

y = ex;

Examples

X

exp(x)

1

2.718282 (= e1)

2.1

8.166170 (= e2.1)

-2.6

0.074274 (= e-2.6)

[1,2.1;-2.6,1]

[2.718282,8.166170;0.074274,2.718282]

( = [e1,e2.1;e-2.6,e1] )

 

Limitations

X and Y must have the same size.