How to find the changing point in figure?

4 visualizaciones (últimos 30 días)
ADNAN KIRAL
ADNAN KIRAL el 18 de Nov. de 2021
Comentada: ADNAN KIRAL el 18 de Nov. de 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)

Respuestas (1)

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

Categorías

Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.

Productos


Versión

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by