How to recognize discontinuity of slope in numerical data
17 views (last 30 days)
Show older comments
I am dealing with a set of data that, when plotted, shows a breaking point as shown in circles. How can I identify these points in the data without needing to plot them every time? I tried looking for discontinuity in the sllope, but that did not help.
0 Comments
Accepted Answer
Walter Roberson
on 11 Sep 2021
Take the second derivative --
d2y = gradient(x,gradient(x,y))
Look for the spot where the second derivative changes from negative to positive.
More Answers (0)
See Also
Categories
Find more on Logical 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!