How to smooth this curve so that I can find the sharpest turning point
조회 수: 1 (최근 30일)
이전 댓글 표시
I have a curve plotted below:
I want to find out the sharpest turning point indicated in the figure by locating the maximal second derivative. But since the curve is not smooth, the second derivative has many peaks, even after I filtered the curve. The same is true for calculating curvatures. So I was wondering if I can fit the curve by some "good" smooth curve which has a single peak of the second derivative so that I can easily pick out the sharpest turning point via diff function. But since I'm not very familiar with curve-fitting, I ask here in hope that someone can help. Btw, if you think you have a better idea than the curve-fitting and calculating the the second derivative, you are welcomed to post your (correct) idea here. Thanks a lot.
댓글 수: 0
채택된 답변
KSSV
2016년 6월 28일
You can achieve the above task in multiple ways. You may refer the following links.
댓글 수: 0
추가 답변 (2개)
KSSV
2016년 6월 28일
Other method is go by slope.....calculate the slope..If you have n points you will get (n-1) slopes..pick three consecutive slopes...check the sign of slopes. If the sign of slopes is [-1 +1 -1] or [+1 -1 +1]; it implies there is a turn point. I hope this would be the simplest of all.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Curve Fitting Toolbox에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!