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.

10 ビュー (過去 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 Center および File ExchangeFit Postprocessing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by