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

3 次查看(过去 30 天)
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

采纳的回答

KSSV
KSSV 2018-5-8
Get the equation of tangent.....convert it to y = mx+c form......m should gives you slope which is the angle you want.
  4 个评论
Purush otham
Purush otham 2018-5-15
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 2018-5-15
Instead of posting a figure, you should include the calculated coordinates of the last - say - 5 points of the curve.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Mathematics 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by