www.gusucode.com > wavelet 源码程序 matlab案例代码 > wavelet/FejerKorovkinFiltersExample.m
%% Fejer-Korovkin Filters % Construct and plot the Fejer-Korovkin (14) scaling function and wavelet. %% % Obtain the Fejer-Korovkin scaling filter and display its 14 coefficients. % Copyright 2015 The MathWorks, Inc. Lo = fejerkorovkin('fk14') %% % Use the scaling filter to obtain the wavelet filter and display its % wavelet filter coefficients. Hi = qmf(Lo) %% % |wavefun| provides an efficient way to construct and plot the scaling % function and wavelet. [phi,psi,xval] = wavefun('fk14'); subplot(2,1,1) plot(xval,phi) title('Scaling Function') subplot(2,1,2) plot(xval,psi) title('Wavelet')