How to find the changing point in figure?

5 views (last 30 days)
ADNAN KIRAL
ADNAN KIRAL on 18 Nov 2021
Commented: ADNAN KIRAL on 18 Nov 2021
Dear,
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.
Regards,
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.

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!