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

3 visualizaciones (últimos 30 días)
Purush otham
Purush otham el 8 de Mayo de 2018
Comentada: Torsten el 15 de Mayo de 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

Respuesta aceptada

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

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Mathematics en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by