Accelerated motion implementation in MatLab

14 visualizzazioni (ultimi 30 giorni)
Andre589
Andre589 il 22 Nov 2016
Risposto: Jan il 23 Nov 2016
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 Commenti
Jan
Jan il 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.
Andre589
Andre589 il 22 Nov 2016
Modificato: Andre589 il 22 Nov 2016
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]

Accedi per commentare.

Risposte (1)

Jan
Jan il 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.

Categorie

Scopri di più su Mathematics in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by