[H,V,D] = detcoef2 ('all',C,S,N) returns the horizontal H, vertical V, and diagonal D detail coefficients at level N.
47
X = waverec2(C,S,'wname')
reconstructs the matrix X based on the multi-level wavelet decomposition structure [C,S]
从小波和正弦波的形状可以看出,变化剧烈的信号, 用不规则的小波进行分析比用平滑的正弦波更好, 即用小波更能描述信号的局部特征。
18
连续小波基函数
将小波母函数 进行伸缩和平移后得到 函数
a,b(t)a1 2(t ab),a0,bR
称该函数为依赖于参数a,τ的 小波基函数。a 为尺度因子,b为位移因子 。
39
小波重构
重构概念
把分解的系数还原成原始信号的过程叫做小波重构 (wavelet reconstruction)或合成(synthesis),数学上叫做 逆离散小波变换(inverse discrete wavelet transform, IDWT)
两个过程
在使用滤波器做小波变换时包含滤波和降采样 (downsampling)两个过程,在小波重构时也包含升采 样(upsampling)和滤波两个过程。
Wavevlet “dB1”二级分解
水平细节分量cH
近似分量cA 垂直细节分量cV 对角细节分量cD
[C,S] = wavedec2(X,N,'wname')
returns the wavelet decomposition of the matrix X at level N, using the wavelet named in string 'wname‘. Outputs are the decomposition vector C and the corresponding bookkeeping matrix S.