How to recognize discontinuity of slope in numerical data

16 visualizaciones (últimos 30 días)
Saeid
Saeid el 11 de Sept. de 2021
Comentada: Saeid el 11 de Sept. de 2021
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.

Respuesta aceptada

Walter Roberson
Walter Roberson el 11 de Sept. de 2021
Take the second derivative --
d2y = gradient(x,gradient(x,y))
Look for the spot where the second derivative changes from negative to positive.
  1 comentario
Saeid
Saeid el 11 de Sept. de 2021
Thanks Walter. I guess that will help, but I guess it is gradient(gradient(y,x),x)
Right?

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Logical en Help Center y File Exchange.

Productos


Versión

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by