MATLAB: How to solve two 2nd order differential equations using ode’s

differential equations with cross coupling.ode's

my system is as follows. x"+ x'+ x + y'=0; y"+ y'+ y + x'=0; Thanks in advance for the help.

Best Answer

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