Matrix exponentiation can be computed using various methods, including the power series expansion and diagonalization. The power series approach involves summing terms of the form (-ia)^nL^n/n!, while diagonalization requires expressing the matrix L as L = P^{-1}DP, where D contains the eigenvalues. For matrices that are not diagonalizable, Jordan Normal Form can be used, although it complicates calculations and is sensitive to numerical changes. MATLAB employs a scaling and squaring method combined with Pade approximation for more robust numerical results, especially when eigenvalues are closely spaced. Overall, the choice of method depends on the matrix's properties and the desired accuracy.