How to find angle made by tangent at the end of a curve?

2 Ansichten (letzte 30 Tage)
Purush otham
Purush otham am 8 Mai 2018
Kommentiert: Torsten am 15 Mai 2018
Hi,
I have attached the image of a curve obtained by using ode45 . Now my intention is to find the angle that the tangent at final points of the free end of the curve makes with the x-axis.
How do I do it?
Thank you

Akzeptierte Antwort

KSSV
KSSV am 8 Mai 2018
Get the equation of tangent.....convert it to y = mx+c form......m should gives you slope which is the angle you want.
  4 Kommentare
Purush otham
Purush otham am 15 Mai 2018
What to do if I am getting negative slope, though clearly the plot is not? I tried abs but it does not give the correct angle. The correct angle is only obtained when subtracted from 180 or added with 90.
Torsten
Torsten am 15 Mai 2018
Instead of posting a figure, you should include the calculated coordinates of the last - say - 5 points of the curve.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Mathematics 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!

Translated by