Effacer les filtres
Effacer les filtres

How to solve this equations?

3 vues (au cours des 30 derniers jours)
Arda Nova
Arda Nova le 31 Déc 2018
Modifié(e) : Stephan le 31 Déc 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 commentaires
madhan ravi
madhan ravi le 31 Déc 2018
Modifié(e) : madhan ravi le 31 Déc 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 le 31 Déc 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

Connectez-vous pour commenter.

Réponse acceptée

Stephan
Stephan le 31 Déc 2018
Modifié(e) : Stephan le 31 Déc 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 commentaire
Arda Nova
Arda Nova le 31 Déc 2018
Modifié(e) : Arda Nova le 31 Déc 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.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Programming dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by