How to detect specified regions on the curve?

4 ビュー (過去 30 日間)
Andrii Mishchenko
Andrii Mishchenko 2017 年 6 月 13 日
コメント済み: Andrii Mishchenko 2017 年 6 月 29 日
Hello, dear matlab users and programers.
I have a 2D data set temperature vs time, like in image attached. What I have to do is to create an algorithm that will detect when the curve is start to rolling down and when the data stops to change (horizontal part of the curve).
As an idea I am going to calculate tangent of the line between two data points (when tangent is <0 means that curve is rolling down and when tangent is aprox. = 0, than it is constant). Are there any more precise method to do this?
Thank you very much!

採用された回答

Michael Dombrowski
Michael Dombrowski 2017 年 6 月 29 日
Have a look at findpeaks which can give you the maxima of your function. Otherwise, just use max() to get the global maximum. Taking the derivative should also work similarly. See this previous answer.
  1 件のコメント
Andrii Mishchenko
Andrii Mishchenko 2017 年 6 月 29 日
Hi Michael! Thank you very much! I will try the function you mentioned and also will test derivative approach. Than I will compare both and make a decision which one is the best for my data type.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSmoothing and Denoising についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by