Clear Filters
Clear Filters

how could i solve this ode system in simulink?

1 view (last 30 days)
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 Comments
reza foodeh
reza foodeh on 2 Nov 2012
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

Sign in to comment.

Answers (1)

Ryan G
Ryan G on 2 Nov 2012
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.

Categories

Find more on General Applications in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!