How to locate significant points in a graph?
Show older comments
Hi
So I've plotted a graph of two variables from a 118000x2 matrix: Frames and Conductivity. I've attached a picture of the graph. I want to write a code to locate the frame numbers at which the conductivity spikes or declines significantly, seen by the peaks and troughs, as well as the maximum/minimum conductivity reached, the stabilising conductivity value after the change and the number of frames taken for the conductivity to stabilise.
Thank you!

Answers (1)
Sindar
on 29 Jan 2020
1 vote
check out findpeaks
Categories
Find more on Graph and Network Algorithms in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!