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 Downloads
Aktualisiert 3. Jul 2010

Lizenz anzeigen

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.

Zitieren als

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. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2008b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Splines finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.2.0.0

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

1.0.0.0