Borrar filtros
Borrar filtros

Multiplication of matrix including function with vectors

2 visualizaciones (últimos 30 días)
Mohamed Asaad
Mohamed Asaad el 13 de Nov. de 2020
Comentada: Mohamed Asaad el 13 de Nov. de 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).

Respuesta aceptada

Matt J
Matt J el 13 de Nov. de 2020
Editada: Matt J el 13 de Nov. de 2020
G(s) = C.' * v * B

Más respuestas (0)

Categorías

Más información sobre MATLAB en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by