Generalized Matrix Exponential

版本 1.1.0.0 (194.7 KB) 作者: Kenneth Johnson
Solves Y'(t) = D(t)*Y(t) for Y(1) with Y(0) = I (identity matrix).
206.0 次下载
更新时间 2015/6/17

查看许可证

The matrix exponential Y = expm(D) is the solution of the differential equation Y'(t) = D*Y(t) at t = 1, with initial condition Y(0) = I (the identity matrix). The gexpm function generalizes this for the case of a non-constant coefficient matrix D: Y'(t) = D(t)*Y(t). gexpm handles both the constant and non-constant D cases and is equivalent to expm for constant D.
An argument option allows gexpm to compute Y = expm(X)-I without the precision loss associated with the I term. This is analogous to the MATLAB expm1 function ("exponential minus 1").
The demo_gexpm script illustrates the performance of gexpm in comparison to expm and ode45.
The algorithm is based on an order-6 Pade approximation, which is outlined in the document KJohnson_2015_04_01.pdf.

引用格式

Kenneth Johnson (2024). Generalized Matrix Exponential (https://www.mathworks.com/matlabcentral/fileexchange/50413-generalized-matrix-exponential), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2015a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Matrix Exponential 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.1.0.0

Revised Description
Revised Description

1.0.0.0