How I can determine the intersection point of two projectile
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Akzeptierte Antwort
Torsten
am 14 Jan. 2022
Bearbeitet: Torsten
am 14 Jan. 2022
Set x1 = x2 and y1 = y2 for an intersection point of the two curves.
You'll get
xinter= (tan(theta2)-tan(theta1))/(g/(2*(v2*cos(theta2))^2)-g/(2*(v1*cos(theta1))^2))
yinter= tan(theta1)*xinter- g*xinter^2/(2*(v1*cos(theta1))^2) - y0
as intersection point.
Of course, you will have to check whether xinter > 0, yinter > 0.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Interpolation finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!