Accelerated motion implementation in MatLab
15 views (last 30 days)
Show older comments
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 Comments
Jan
on 22 Nov 2016
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.
Answers (1)
Jan
on 23 Nov 2016
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.
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!