Usage: |
fdbasis=createfdbasis(type,rangeval,nbasis,params)
|
Input: |
| type | string, indicating the type of basis either
"fourier", "bspline" or "poly"
|
| range | 2 x 1 vector, contains the lower and
upper boundaries for the range of argument values
|
| nbasis | scalar, number of basis functions
|
| params | either
scalar, period (if the basis is "fourier") or
constant shift parameter (if the basis is "poly")
or
n x 1 vctor, strictly nondecreasing sequence of knots (if the basis is "bspline")
|
| fdbasis | list, functional data basis object, composed of type, range, nbasis, params
|