I am trying to solve a system of coupled differential equations to plot streamlines using Matlab.
The equations are these:
\begin{align} \frac{\mathrm dx}{\mathrm dt} &= -3x -5y \\ \frac{\mathrm dy}{\mathrm dt} &= 5x + 3y \end{align}
What method do you suggest for solving this system? I'd greatly appreciate any insight or suggestion. No need to solve the system :) as long as you tell me what literature I can refer to.
Thanks!
I think a simple finite difference scheme will do the trick here. http://en.wikipedia.org/wiki/Finite_difference_method
Put a mesh over your domain. Then a point $i$ has a certain position $(x_i,\ y_i)$. Then for the first equation you can write:
$\frac{dx_i}{dt} = -3x_i-5y_i$.
Similar for the second equation. Solving for all $i$ and combining both gives you the streamlines.