How to smooth this curve so that I can find the sharpest turning point
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponse acceptée
KSSV
le 28 Juin 2016
You can achieve the above task in multiple ways. You may refer the following links.
0 commentaires
Plus de réponses (2)
KSSV
le 28 Juin 2016
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 commentaires
Voir également
Catégories
En savoir plus sur Curve Fitting Toolbox dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!