Matrix exponential

Matrix exponential algorithm with improved numerical precision

408 Downloads

Updated 19 Mar 2014

View License

In the classical scale-and-square exponential algorithm, numeric precision is degraded by large diagonal terms in matrices that are nearly equal to the identity matrix. This variant algorithm separates out the identity matrix terms, preserving high precision with arbitrarily small scaling factors.
[Requires polyvalm_, File ID: #45786.]

Cite As

Kenneth Johnson (2023). Matrix exponential (https://www.mathworks.com/matlabcentral/fileexchange/45724-matrix-exponential), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.9.0.0

Updated test cases to use MATLAB R2014A. (Previous version used R2013A.)

1.8.0.0

Spelling error in comments.

1.7.0.0

Corrected output specification in comment header.

1.6.0.0

Replaced two corrupted comment lines.

1.5.0.0

Noted requirement for polyvalm_ in Description.

1.4.0.0

No change - just trying to fix a problem in File Exchange UI.

1.3.0.0

- Added minusI optional input.
- Revised p polynomial definition to include leading I term.
- Use polyvalm_ to do the polynomial evaluation.
- Use more robust method for setting m and s.
- Modified test cases in comment header.

1.2.0.0

Added acknowledgment of Federal support and disclaimer.

1.1.0.0

Added reference to another good test case in program comments.

1.0.0.0