使用 MATLAB 小波工具箱进行小波分析: 如上图所示的小波分解过程,可以调用 wfilters 来获得指定小波的分解和综合滤波器系数,例如: % Set wavelet name
wname = 'db5'; % Compute the four filters associated with wavelet name given % by the input string wname
[Lo_D,Hi_D,Lo_R,Hi_R] = wfilters(wname); subplot(221); stem(Lo_D); title('Decomposition low-pass filter'); subplot(222); stem(Hi_D); title('Decomposition high-pass filter'); subplot(223); stem(Lo_R); title('Reconstruction low-pass filter'); subplot(224); stem(Hi_R); title('Reconstruction high-pass filter'); xlabel('The four filters for db5') % Editing some graphical properties, % the following figure is generated
以上例子,得到’db5’小波的分解和综合滤波器系数,并显示出来
下面是wfilters的具体用法: Wname 可指定为列表中的任意一种小波,直接调用 [Lo_D,Hi_D,Lo_R,Hi_R] = wfilters('wname�