Plotting system of differential equations

20 次查看(过去 30 天)
Hi,
does anybody know the code to plot a system of differential equations? For example say,
x1(dot) = -x2 + (x1)^2 -(x1*x2)
x2(dot) = x1 + (x1*x2)
Thanks in advance! :)
Sajith.

采纳的回答

Star Strider
Star Strider 2015-3-24
Yes.
Use ode45 to integrate your equations, then plot the solution.
Give it a go. It should be very easy for you to cast your system of equations as an Anonymous Function. If you have problems with your code, we can help you get it running.
  5 个评论

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Digital Filter Analysis 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by