필터 지우기
필터 지우기

How to solve two 2nd order differential equations using ode's

조회 수: 3 (최근 30일)
Ebraheem Menda
Ebraheem Menda 2018년 2월 21일
댓글: Ebraheem Menda 2018년 2월 22일
my system is as follows. x"+ x'+ x + y'=0; y"+ y'+ y + x'=0; Thanks in advance for the help.

채택된 답변

Birdman
Birdman 2018년 2월 21일
Here is an approach, with symbolic way:
syms x1(t) x2(t)
eq1=diff(x1,2)+diff(x1,1)+x1+diff(x2,1)==0;
eq2=diff(x2,2)+diff(x2,1)+x2+diff(x1,1)==0;
solx=dsolve([eq1,eq2]);
x1(t)=solx.x1
x2(t)=solx.x2
  댓글 수: 4
Birdman
Birdman 2018년 2월 22일
I do not know how to use ode45. Maybe you should open a new question in forum.

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

추가 답변 (0개)

카테고리

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