Filter löschen
Filter löschen

Multiplication of matrix including function with vectors

2 Ansichten (letzte 30 Tage)
Mohamed Asaad
Mohamed Asaad am 13 Nov. 2020
Kommentiert: Mohamed Asaad am 13 Nov. 2020
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).

Akzeptierte Antwort

Matt J
Matt J am 13 Nov. 2020
Bearbeitet: Matt J am 13 Nov. 2020
G(s) = C.' * v * B

Weitere Antworten (0)

Kategorien

Mehr zu MATLAB finden Sie in Help Center und File Exchange

Produkte


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by