how to connect the upper points of a sine curve by making them a curve?

1 回表示 (過去 30 日間)
Aida Bouaziz
Aida Bouaziz 2022 年 8 月 7 日
コメント済み: Star Strider 2022 年 8 月 7 日
i want to extract a curve like what is in red from the plot in blue how can i do that?
je veux extraire une courbe comme il est indiqué en rouge d'aprés la plot en bleu comment je peux aire ça?
  1 件のコメント
Jose Manuel Castiblanco Quintero
Jose Manuel Castiblanco Quintero 2022 年 8 月 7 日
Try to use find command, index the results and to use fitter curve app!

サインインしてコメントする。

採用された回答

Star Strider
Star Strider 2022 年 8 月 7 日
Use the envelope function (R2015b and later) in the Signal Processint Toolbox.
Perhaps:
envup = envelope(y);
The function has a number of options, so choose the one (probably 'peak') that gives the resullt you want.
.
  4 件のコメント
Aida Bouaziz
Aida Bouaziz 2022 年 8 月 7 日
great, it works
thnks
Star Strider
Star Strider 2022 年 8 月 7 日
As always, my pleasure!

サインインしてコメントする。

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by