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

2 visualizzazioni (ultimi 30 giorni)
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

Risposta accettata

KSSV
KSSV il 8 Mag 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 Commenti
Purush otham
Purush otham il 15 Mag 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 il 15 Mag 2018
Instead of posting a figure, you should include the calculated coordinates of the last - say - 5 points of the curve.

Accedi per commentare.

Più risposte (0)

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