how could i solve this ode system in simulink?

3 visualizaciones (últimos 30 días)
reza foodeh
reza foodeh el 2 de Nov. de 2012
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 comentarios
reza foodeh
reza foodeh el 2 de Nov. de 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

Iniciar sesión para comentar.

Respuestas (1)

Ryan G
Ryan G el 2 de Nov. de 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.

Categorías

Más información sobre General Applications en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by