how to solve a system of integro-differential equations?

 Accepted Answer

3 Comments

Since
integral_{0}^{t} exp(t-s) ds = exp(t) - 1,
you can use any of the ODE solvers MATLAB supplies (e.g. ODE45, ODE15S).
I did not yet test the code, but if your problem is more complicated, maybe the link Claudio Gelmi gave under
is useful for you.
Thank you.
So, directly there is no code for solving system of integro differential equations .
Yes, it is more complicated and I need a code for solve it.
I found the code idsolver, for solving integro differential equations, but I am not sure that it used for the system of integro differential equations too.

Sign in to comment.

More Answers (1)

Last time I checked, int(exp(-t),[-inf,T]) is both trivial to integrate, and yet essentially infinite, for ANY finite value of T. So your system of equation is poorly defined. Do I really need to show this?
syms t T
int(exp(-t),[-inf,T])
ans = 
That says your system of equations is not solvable.

1 Comment

Thank you for your notation.
So if I change it a bit to the following form, can I find a code in Matlab to solve the system of the integro-differential equations?
\frac{dx}{dt}=tx(t)+y(t)+sin(y)\int_{0}^t e^{(t-s)} ds \\
x_{0}=0\\
\frac{dy}{dt}=x(t)+ty(t)+cos(x)\int_{0}^t e^{(t-s)} ds \\
y_{0}=1
With regards

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!