\section{EXPM Matrix Exponential}

\subsection{Usage}

Calculates \verb|e^A| for a square, full rank matrix \verb|A|.  The
syntax for its use is
\begin{verbatim}
   y = expm(A)
\end{verbatim}
Internally, \verb|expm| is mapped to a simple \verb|e^A| expression (which
in turn uses the eigenvalue expansion of \verb|A| to compute the
exponential).
\subsection{Example}

An example of \verb|expm|
\begin{verbatim}
--> A = [1 1 0; 0 0 2; 0 0 -1]
A = 
  <int32>  - size: [3 3]
 
Columns 1 to 3
  1   1   0  
  0   0   2  
  0   0  -1  
--> expm(A)
ans = 
  <double>  - size: [3 3]
 
Columns 1 to 3
 2.71828182845904509  1.71828182845904509  1.08616126963048720  
 0.00000000000000000  1.00000000000000000  1.26424111765711533  
 0.00000000000000000  0.00000000000000000  0.36787944117144233  

\end{verbatim}
