How do I make specific intervalls on a graph with 2 'dips'

2 ビュー (過去 30 日間)
Luqas Lundahl
Luqas Lundahl 2022 年 4 月 6 日
編集済み: Tala 2022 年 4 月 6 日
Hello
I have a list of different graphs that are either straight, straight with a dip, or straight with 2 dips. What i need to do is close in these dips inside an interval IF they exist. The line isn't neccessairly straight but 'vibrates'. I initially just checked if the min value is significantly lower than the max value, but this falls apart if the graph has 2 dips.

回答 (1 件)

Tala
Tala 2022 年 4 月 6 日
編集済み: Tala 2022 年 4 月 6 日
islocalmin would do the job! If your data is sharable, I will take a look. You probably need to smooth your data before using islocalmin.

カテゴリ

Help Center および File ExchangeMultirate Signal Processing についてさらに検索

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by