![]() |
IRootLab
An Open-Source MATLAB toolbox for vibrational biospectroscopy
|
Splines transformation matrix.
This matrix transforms a dataset into the coefficients for reconstruction using a spline basis. The transformation matrix is therefore the pseudo-inverse B/(B'*B) of the spline basis.
[1] Jim Ramsay, B. W. Silverman. Functional Data Analysis. 2nd Ed. Springer. 2005. [2] J. Ramsay, G. Hooker, and S. Graves, Functional Data Analysis with R and MATLAB. New York: Springer, 2009. Function create_bspline_basis
Definition in file splinebasis.m.
Go to the source code of this file.
Functions | |
| function | splinebasis (in nf, in no_basis, in breaks, in order) |
| function splinebasis | ( | in | nf, |
| in | no_basis, | ||
| in | breaks, | ||
| in | order | ||
| ) |
| nf | Number of features |
| no_basis | Number of basis vectors |
| breaks | =[] Break points. Check reference [1] |
| order | =6 Spline order. Check reference [1] |
B/(B'*B) of the spline basis.