how could i solve this ode system in simulink?

1 次查看(过去 30 天)
hi how could i solve this system in simulink?
Dx=(1-(x^2+y^2)^0.5)*x -y Dy=(1-(x^2+y^2)^0.5)*y +x
  2 个评论
reza foodeh
reza foodeh 2012-11-2
i know,i did this,but at the end,the value of x & y become 0 !! i dont know why! because i think its a system of ode and in each of equation it have x and y

请先登录,再进行评论。

回答(1 个)

Ryan G
Ryan G 2012-11-2
See the blog post about building odes in simulink.
Essentially, what you need to do is create the right hand side of the equations in blocks, and feed that will create Dx. Feed that into an integrator and the output of the integrator is x. Same thing for Dy and y.
The link above demonstrates how this is done visually.

类别

Help CenterFile Exchange 中查找有关 General Applications 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by