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.

답변 (2개)

Ameer Hamza
Ameer Hamza 2020년 11월 18일
  댓글 수: 3
Wesley
Wesley 2020년 11월 18일
As shown in the figure, how to use MATLAB program to calculate the value of included angle θ?
Ameer Hamza
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);

댓글을 달려면 로그인하십시오.


Wesley
Wesley 2020년 11월 18일

카테고리

Help CenterFile Exchange에서 Interpolation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by