필터 지우기
필터 지우기

How to solve this equations?

조회 수: 3 (최근 30일)
Arda Nova
Arda Nova 2018년 12월 31일
편집: Stephan 2018년 12월 31일
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
madhan ravi
madhan ravi 2018년 12월 31일
편집: madhan ravi 2018년 12월 31일
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 2018년 12월 31일
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

댓글을 달려면 로그인하십시오.

채택된 답변

Stephan
Stephan 2018년 12월 31일
편집: Stephan 2018년 12월 31일
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
Arda Nova
Arda Nova 2018년 12월 31일
편집: Arda Nova 2018년 12월 31일
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.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Programming에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by