How to find the changing point in figure?

4 views (last 30 days)
ADNAN KIRAL on 18 Nov 2021
Commented: ADNAN KIRAL on 18 Nov 2021
I have the data (a simple script is attached here for the plotting).
I want to find where it starts to change (slope of the line). I.e. I want to know the point of yielding in line. As you can see from the image, it is linear up to some point, but later the slope starts to change. How can I find the first changing point (just before a new slope) in my data,
Thanks for your help.
load test12F.txt;
load test12D.txt;
D= test12D(:,3);
M= test12F(:,3)
figure; plot(D,M)

Answers (1)

Steven Lord
Steven Lord on 18 Nov 2021
Take a look at the ischange function.




Community Treasure Hunt

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

Start Hunting!

Translated by