powered by
Constructs a matrix of Fourier cosine basis functions evaluated at a given frequency grid. Used in cepstral smoothing of log-spectra.
psi_get(k0, frq)
A k0 x length(frq) matrix of basis function.
k0 x length(frq)
Number of cepstral basis function.
A vector of frequencies in [0,1].
[0,1]
set.seed(123) frq<-seq(0,1, length.out=5) psi<-psi_get(k0=3, frq)
Run the code above in your browser using DataLab