How to find the changing point in figure?

3 vues (au cours des 30 derniers jours)
ADNAN KIRAL
ADNAN KIRAL le 18 Nov 2021
Commenté : ADNAN KIRAL le 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)

Réponses (1)

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

Produits


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by