IRootLab
An Open-Source MATLAB toolbox for vibrational biospectroscopy
splinebasis.m File Reference

Detailed Description

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.

References:

[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 Documentation

function splinebasis ( in  nf,
in  no_basis,
in  breaks,
in  order 
)
Parameters
nfNumber of features
no_basisNumber of basis vectors
breaks=[] Break points. Check reference [1]
order=6 Spline order. Check reference [1]
Returns
The pseudo-inverse B/(B'*B) of the spline basis.