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.]
Kenneth Johnson (2023). Matrix exponential (https://www.mathworks.com/matlabcentral/fileexchange/45724-matrix-exponential), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
Updated test cases to use MATLAB R2014A. (Previous version used R2013A.)
Spelling error in comments.
Corrected output specification in comment header.
Replaced two corrupted comment lines.
Noted requirement for polyvalm_ in Description.
No change - just trying to fix a problem in File Exchange UI.
- Added minusI optional input.
Added acknowledgment of Federal support and disclaimer.
Added reference to another good test case in program comments.