A vectorized cubic spline

A vectorized, parallel capable, cubic spline interpolation/extrapolation function for non-uniformly distributed 1d data
74 Downloads
Aktualisiert 23. Apr 2021

Lizenz anzeigen

The publication of this function was inspired by the poor job done by several implementations of the 1d cubic spline publications in Matlab's file exchange repos.

This function was part of one of my homework assignments when I was a master student in NTU back in 2011.

Although it is not a perfect implementation, it is simple to read (the formulation is close the math equations), it can be parallelized (if parfor is available), the boundary conditions can be easily expanded/extended, and it is written in a single script with less than 125 lines of code (including a short intro and example).

Enjoy ! : )

Zitieren als

Manuel A. Diaz (2024). A vectorized cubic spline (https://www.mathworks.com/matlabcentral/fileexchange/90970-a-vectorized-cubic-spline), MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2019b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.1

Change name and correct typos in the description.

1.0.0