This Spline toolbox provides the possibility to define spline curves and surfaces according to the common definition with knot vectors, the order of the B-spline basis functions and their coefficients.
The Spline objects can be evaluated, differentiated and visualized in multiple fashions, e.g. fast evaluation at grid points for surfaces or the calculation of all sorts of curvatures. As the evaluation is based on the application of Horner's scheme on the different polynomial segments, it is even possible to extend the functions continuously and evaluate at points that are not contained in the domain.
Furthermore, this toolbox allows the calculation of spline approximants for given pairs of function values, in both cases of curves and surfaces. They can be extended by considering additional interpolation and smoothing conditions.
A detailed description of all functionalities, combined with several examples, can be found in the documentation.
This toolbox was only created for the application in a research project, so errors are only handled properly during the definition of a spline. Any other error is often originated in mismatching dimensions, e.g. by manual manipulation of properties, or not correctly defined knots vectors/coefficients. But feel free to contact me in any case of problem as I am always trying to improve the program.
Florian Martin (2021). Spline Toolbox (https://www.mathworks.com/matlabcentral/fileexchange/72654-spline-toolbox), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!