How to recognize discontinuity of slope in numerical data

조회 수: 20 (최근 30일)
Saeid
Saeid 2021년 9월 11일
댓글: Saeid 2021년 9월 11일
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.

채택된 답변

Walter Roberson
Walter Roberson 2021년 9월 11일
Take the second derivative --
d2y = gradient(x,gradient(x,y))
Look for the spot where the second derivative changes from negative to positive.
  댓글 수: 1
Saeid
Saeid 2021년 9월 11일
Thanks Walter. I guess that will help, but I guess it is gradient(gradient(y,x),x)
Right?

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by