Accelerated motion implementation in MatLab

조회 수: 15 (최근 30일)
Andre589
Andre589 2016년 11월 22일
답변: Jan 2016년 11월 23일
Hello everyone I got the following problem. For the Accelerated motion I need to build an Equation System. I got 3 readings for this. The equation is y(t)=x0+v0*t+0.5*a*t²
the readings are y(1)=5m and t1=1s y(2)=10m and t2=10m and y(0)=1.7648m t0=0s
I made an Equation System it looks like this
y(1s)=5m=x0+v0⋅1s+0,5⋅a0⋅1s^2 [x0]
y(2s)=10m=x0+v0⋅2s+0,5⋅a0⋅2^2 [v0]
y(0s)=1.7648m=x0+v0⋅0s+0,5⋅a0⋅0^2 [a0]
But I dont know if this is correct. If someone could help me and tell me if I got the right equtations and how to implement them in MatLab I would be very grateful.
  댓글 수: 2
Jan
Jan 2016년 11월 22일
Please do not crosspost a question in different forums. If you really have a really good reasons for this, really, then add at least links to the other forums, such that we can check, if an answer has given already. Thanks.
Your equations look fine. What have you tried so far and which problems occur? If this is a homework, please mention this.
Andre589
Andre589 2016년 11월 22일
편집: Andre589 2016년 11월 22일
Well you probably mean this http://www.gomatlab.de/viewtopic,p,170428.html#170428 We can solve this exercise in 2man groups. So he asked in the other Forum for help and I ask here
I tried alot of things. But the last I tried is this
inv([1 1 1; 1 2 4; 1 1 0]) * [5; 10;1.7648]

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

답변 (1개)

Jan
Jan 2016년 11월 23일
Your solution is working. This is more efficient and stable:
Result = [1 1 1; 1 2 4; 1 1 0] \ [5; 10; 1.7648]
But for this small system, neither the runtime nor the accuracy matters.

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by