Scilab-Branch-6.1-GIT
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
invr
(有理) 行列の逆
呼び出し手順
F = invr(H)
パラメータ
- H
多項式または有理行列
- F
有理行列
説明
invr
はLeverrierのアルゴリズムにより
H-1
を計算します (関数コード参照).
例
s = %s; H = [s, s*s+2 ; 1-s, 1+s], iH = invr(H), H * iH [Num,den] = coffg(H); Num/den H = [1/s, (s+1) ; 1/(s+2), (s+3)/s]; invr(H)
--> H = [s, s*s+2 ; 1-s, 1+s], iH = invr(H), H * iH H = s 2 +s² 1 -s 1 +s iH = 1 +s -2 -s² ---------- ---------- -2 +3s +s³ -2 +3s +s³ -1 +s s ---------- ---------- -2 +3s +s³ -2 +3s +s³ ans = 1 0 - - 1 1 0 1 - - 1 1 --> [Num,den] = coffg(H); Num / den ans = 1 +s -2 -s² ---------- ---------- -2 +3s +s³ -2 +3s +s³ -1 +s s ---------- ---------- -2 +3s +s³ -2 +3s +s³
Report an issue | ||
<< inv_coeff | Polynomials | lcmdiag >> |