求方程组的关联矩阵
求五变量五方程系的关联矩阵。
创建以下符号向量方程式
包含五个符号微分方程。
信谊y1 (t) y2 (t) y3 (t) y4 (t)日元(t) c1 c3方程式= [diff (y1 (t), t) = = y2 (t)……Diff (y2(t),t) == c1*y1(t) + c3*y3(t),…Diff (y (t),t) == y2(t) + y4(t),…Diff (y4(t),t) == y3(t) + y5(t),…diff(日元(t), t) = = y4 (t)];
创建变量向量。在这里,c1
和c3
是系统的符号参数(不是变量)。
var = [y1(t), y2(t), y3(t), y4(t), y5(t)];
求关联矩阵一个
的方程方程式
对于变量var
.
A = incidenceMatrix(eqs, vars)
A = 1 1 0 0 0 0 1 1 1 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 0 0 0 1 1 1 1 0 0 0 0 1 1 1
daeFunction
|decic
|findDecoupledBlocks
|isLowIndexDAE
|massMatrixForm
|odeFunction
|reduceDAEIndex
|reduceDAEToODE
|reduceDifferentialOrder
|reduceRedundancies
|间谍