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

2 vues (au cours des 30 derniers jours)
Purush otham
Purush otham le 8 Mai 2018
Commenté : Torsten le 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

Réponse acceptée

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

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Mathematics dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by