How to detect specified regions on the curve?
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Andrii Mishchenko
am 13 Jun. 2017
Kommentiert: Andrii Mishchenko
am 29 Jun. 2017
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!
0 Kommentare
Akzeptierte Antwort
Michael Dombrowski
am 29 Jun. 2017
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.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Image Processing and Computer Vision finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!