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.
20 views (last 30 days)
Show older comments
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 Comments
Answers (2)
Ameer Hamza
on 18 Nov 2020
Check the following functions:
3 Comments
Ameer Hamza
on 18 Nov 2020
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);
See Also
Categories
Find more on Interpolation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!