Algorithm 929
Mani Mehra, Kavita Goyal · ACM Transactions on Mathematical Software · 2013
A collection of the Matlab routines that compute the values of the scaling and wavelet functions (φ(x) and ψ(x) respectively) and the derivative of an arbitrary function (periodic or non periodic) using wavelet bases is presented. Initially, the case of Daubechies wavelets is taken and the procedure is explained for both collocation and Galerkin approaches. For each case a Matlab routine is provided to compute the differentiation matrix and the derivative of the functionf(d)= D(d)f. Moreover, the convergence of the derivative is shown graphically as a function of different parameters (the wavelet genus,Dand the scale,J) for two test functions. We then consider the use of spline wavelets.