Local maxima and minima of a pp spline

Determine the locations of local maxima and minima in a pp spline generated by pp = spline(x,Y);
1K téléchargements
Mise à jour 3 juil. 2010

Afficher la licence

This function uses vectorised methods to determine the locations of maxima and minima where they exist within a piecewise spline fit. The matlab built-in functions for determining the maxima and minima, by differentiating the pp spline and finding its zeros (using the Spline toolbox), are quite slow, and are given as comment at the end of the m-file for reference.

Citation pour cette source

Matthew Arthington (2024). Local maxima and minima of a pp spline (https://www.mathworks.com/matlabcentral/fileexchange/26144-local-maxima-and-minima-of-a-pp-spline), MATLAB Central File Exchange. Extrait(e) le .

Compatibilité avec les versions de MATLAB
Créé avec R2008b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Splines dans Help Center et MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Publié le Notes de version
1.2.0.0

Altered the example code so that it is also toolbox independent.

1.0.0.0