Code covered by the BSD License  

Highlights from
The matrix exponential

Be the first to rate this file! 0 Downloads (last 30 days) File Size: 3.82 KB File ID: #22434

The matrix exponential

by Thomas Schmelzer

 

13 Dec 2008

Computes exp(A)*b where A is real and symmetric

| Watch this File

File Information
Description

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.

MATLAB release MATLAB 7.6 (R2008a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
matrix Cristina McIntire 15 Dec 2008 15:17:39
functions Cristina McIntire 15 Dec 2008 15:17:39
vector Cristina McIntire 15 Dec 2008 15:17:52
symmetric Cristina McIntire 15 Dec 2008 15:18:02
matrix exponential Thomas Schmelzer 15 Dec 2008 15:18:05
matrix functions Thomas Schmelzer 15 Dec 2008 15:18:05

Contact us at files@mathworks.com