Y = exp(X)
expis 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,
expm for the matrix exponential.
(c) Copyright 1994 by The MathWorks, Inc.