How to find the three extreme points of the curve as shown in the figure, and find the degrees of each angle of the triangle surrounded by the three points.
6 次查看(过去 30 天)
显示 更早的评论
How to find the three extreme points of the curve as shown in the figure, and find the degrees of each angle of the triangle surrounded by the three points.

0 个评论
回答(2 个)
Ameer Hamza
2020-11-18
Check the following functions:
3 个评论
Ameer Hamza
2020-11-18
See this example.
Create a sine wave similar to one in your question
theta = linspace(0, 3*pi);
y = -sin(theta);
plot(theta, y)
Find value of theta at minimum points
idx = islocalmin(y);
theta_min = theta(idx);
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Fit Postprocessing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!