MATLAB: Multiplication of matrix including function with vectors

MATLABmatrix function

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 2×2 matrix with four functions G(t).

Best Answer

G(s) = C.' * v * B