exp

exp — element-wise exponential

Calling sequence

exp(X)  

Parameters

X : scalar,vector or matrix with real or complex entries.

Description

exp(X) is the (element-wise) exponential of the entries of X.

Examples



x=[1,2,3+%i];
log(exp(x))  //element-wise
2^x
exp(x*log(2))

 
  

See also

coff, log, expm