How to locate significant points in a graph?

2 views (last 30 days)
Matthew Worker
Matthew Worker on 29 Jan 2020
Answered: Sindar on 29 Jan 2020
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!untitled.jpg

Answers (1)

Sindar
Sindar on 29 Jan 2020
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!