The matrix exponential

Computes exp(A)*b where A is real and symmetric
670 Downloads
Updated 13 Dec 2008

View License

The method is based on CF approximation which is discussed here:
http://www.mathworks.com/matlabcentral/fileexchange/22055

This method is much faster than MATLAB's expm(A)*b if A is sparse and large. The matrix should be symmetric and should have no positive eigenvalues (of course, you can shift the matrix using exp(a+b) = exp(a)*exp(b)).

The vector b can have several columns, but in case they are not available at once, one could store LU-decompositions of certain shifted systems to accelerate the repeated compuation of such matrix-vector products.

THIS METHOD DOES NOT COMPUTE EXPM(A) EXPLICITLY. In case this is your goal, use expm(A) or set b to the identity matrix.

There are several papers discussing this idea, please use

Trefethen, Weideman, Schmelzer
Talbot Quadratures and Rational Approximations
BIT, 2006

as a starting point.

Cite As

Thomas Schmelzer (2024). The matrix exponential (https://www.mathworks.com/matlabcentral/fileexchange/22434-the-matrix-exponential), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Matrix Exponential in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0