Borrar filtros
Borrar filtros

How to solve this equations?

3 visualizaciones (últimos 30 días)
Arda Nova
Arda Nova el 31 de Dic. de 2018
Editada: Stephan el 31 de Dic. de 2018
These are hamoltionian ways of triple pendulum. I am very new to matlab and, I know little to nothing. I need a direction to go. Can I solve these in ode45? If I can, how can I insert these formulations to matlab. Can you show me roughly?
  2 comentarios
madhan ravi
madhan ravi el 31 de Dic. de 2018
Editada: madhan ravi el 31 de Dic. de 2018
It can be solved using ode45 but before that please try something and come up with the code atleast the equation also mention what is p and theta a function of time ?
Arda Nova
Arda Nova el 31 de Dic. de 2018
I see, as I said I am very new to even write a code, sorry. But even you saying it can be solved with ode45 is good for me. p is momenta, kg* m^2/sec. It's used to simplify equations, this way it is easier to put them in computer. Theta is the angle of the arm wrt to ground. When I asked can you show me roughly, what I meant is the formulation, not the whole code's itself. For example p1=A*thetadot1+B*thetadot2+C*thetadot3

Iniciar sesión para comentar.

Respuesta aceptada

Stephan
Stephan el 31 de Dic. de 2018
Editada: Stephan el 31 de Dic. de 2018
Hi,
as Madhan already said in his comment, we need to see some code to help. Otherwise we would do your work, what is not the way things should work here.
For start have a read at the following links and try the given examples to learn how to deal with ode in Matlab:
If you work through this and the linked sites of the documentation in the 'see also' sections you should be able to start.
Trouble by doing this? Here is the right place to ask specific questions regarding YOUR code.
Best regards
Stephan
  1 comentario
Arda Nova
Arda Nova el 31 de Dic. de 2018
Editada: Arda Nova el 31 de Dic. de 2018
It will take a while to write something proper right now. I need to learn a lot in a short time. But that's on me. Thank you very much for the suggestions, I will surely start from there.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

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

Community Treasure Hunt

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

Start Hunting!

Translated by