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 (최근 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에서 Interpolation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!