Multiplication of matrix including function with vectors

1 回表示 (過去 30 日間)
Mohamed Asaad
Mohamed Asaad 2020 年 11 月 13 日
コメント済み: Mohamed Asaad 2020 年 11 月 13 日
Could anyone help me with that:
syms SI(s) V(s) v(s) G(s)
C = [-1; -1];
SI(s) = [s 0
0 s];
A = [-3 2 ;-2 1];
B = [2; 1];
V(s) = minus(SI,A);
v(s) = inv(V);
G(s) = C.*v.*B
ilaplace(G)
The answer should be only one function G(t), but I am getting a 2x2 matrix with four functions G(t).

採用された回答

Matt J
Matt J 2020 年 11 月 13 日
編集済み: Matt J 2020 年 11 月 13 日
G(s) = C.' * v * B

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMATLAB についてさらに検索

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by