powered by
A function for making matrices of sinusoidal basis function values.
basis(x, nb)
The frequencies at which to evaluate the basis functions.
The number of basis functions to include.
A matrix whose rows correspond to input values and whose columns correspond to particular basis functions.
# NOT RUN { bas.mat<-basis(seq(0,0.5,length=16),22) # }
Run the code above in your browser using DataLab