Borrar filtros
Borrar filtros

Solving Matrix differential equations

85 visualizaciones (últimos 30 días)
Zach
Zach el 17 de Nov. de 2011
Editada: Abe el 23 de Dic. de 2015
I'm looking to solve a system of the type dxdt=A*x where dxdt and x are 1xn vectors and A is an nxn matrix. I know I can use something like ode45 to solve each row individually, but figured matlab must have a way of solving such systems. Thanks in advance!

Respuesta aceptada

Fangjun Jiang
Fangjun Jiang el 17 de Nov. de 2011
dxdt and x should be n by 1 vectors.
Yes. ode45 or other ode solver can solve the system at once. run odeexamples.m to see various example.
You might consider use ss() if A is time-invariant matrix.
  1 comentario
Nikolaos
Nikolaos el 31 de Ag. de 2012
where can we find odeexamples.m ? was that helpfull? I am having the same problem..
thank you in advance

Iniciar sesión para comentar.

Más respuestas (1)

Abe
Abe el 23 de Dic. de 2015
Editada: Abe el 23 de Dic. de 2015

Categorías

Más información sobre Ordinary Differential Equations en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by