필터 지우기
필터 지우기

Solving Matrix differential equations

조회 수: 85 (최근 30일)
Zach
Zach 2011년 11월 17일
편집: Abe 2015년 12월 23일
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!

채택된 답변

Fangjun Jiang
Fangjun Jiang 2011년 11월 17일
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
Nikolaos
Nikolaos 2012년 8월 31일
where can we find odeexamples.m ? was that helpfull? I am having the same problem..
thank you in advance

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Abe
Abe 2015년 12월 23일
편집: Abe 2015년 12월 23일

카테고리

Help CenterFile Exchange에서 Ordinary Differential Equations에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by