Main Content

波菲

小波和缩放功能

Description

[phiPsi.Xval] =波发(wnameit回报Psi.andphi,与正交小波相关联的小波和缩放函数的近似值wname或者是meyer小波。在网格点上评估近似值Xval。积极的整数it指定计算的迭代次数。

[PHI1.那Psi1.PHI2.那Psi2.Xval] =波发(wnameit回报approximations of the wavelet and scaling functions associated with the biorthogonal waveletwname。小波和缩放函数近似Psi1.andPHI1.分别是分解。小波和缩放函数近似Psi2.andPHI2.分别用于重建。

[Psi.Xval] =波发(wnameit返回小波近似值Psi.对于those wavelets that do not have an associated scaling function, such as Morlet, Mexican Hat, Gaussian derivatives wavelets, or complex wavelets.

[___] =波发(wnameA,B绘制使用产生的小波和缩放函数近似max(A,B迭代。输出参数是可选的。

[___] =波发(wname,0)相当于[___] =波发(wname,8,0)

[___] =波发(wname相当于[___] =波发(wname8)

Examples

collapse all

此示例显示迭代数量如何影响指定小波的分段近似值。

Specify the number of iterations and the wavelet name.

wname ='符号4';ITR.=10;

Plot the piecewise approximation of the wavelet generated after one iteration.

[〜,psi,xval] =波发(wname,1);绘图(xval,psi,'X-')gridontitle(['Approximation of ',wname,'小波'])

Vary the number of iterations from one through four and plot the approximations. Observe that as the number of iterations grows, so do the number of sample points.

数字对于k = 1:4 [〜,psi,xval] =波发(wname,k);子图(2,2,k)绘图(xval,psi,'X-')轴tightgridontitle(['Number of Iterations: ',num2str(k)])结束

Now vary the number of iterations from one to the number specified byITR.

数字对于K.=1:itr [~,psi,xval] = wavefun(wname,k); plot(xval,psi) holdon结束gridontitle(['近似',wname,'为1到',num2str(ITR),'迭代'])

This example shows how to plot approximations of the scaling and wavelet functions associated with a biorthogonal wavelet.

指定双正交小波的名称。

wname ='bior3.7';

Plot approximations of the scaling and wavelet functions associated with the specified biorthogonal wavelet using the default number of iterations. Plot the approximations for both decomposition and reconstruction.

波边(Wname,0);

输入参数

collapse all

小波那specified as a character vector or string scalar. SeeWaveInfo.对于wavelets available.

用于生成小波和缩放函数近似的迭代次数指定为正整数。更大的值itincrease the refinement of the approximations.

迭代那specified as a pair of positive integers. The number of iterations is equal tomax(A,B)

输出参数

collapse all

缩放函数近似,作为向量返回。

小波approximation, returned as a vector. Depending onwnamePsi.可以是一个真实或复杂的矢量。

分解缩放和小波函数的近似与双正交小波相关联wname,作为真实价值的向量返回。

分别与双正交小波相关联的重建缩放和小波函数的近似wname,作为真实价值的向量返回。

Grid points where the wavelet and scaling function approximations are evaluated, returned as a real-valued vector.

Algorithms

For compactly supported wavelets defined by filters, in general no closed form analytic formula exists.

The algorithm used is the cascade algorithm. It uses the single-level inverse wavelet transform repeatedly.

Let us begin with the scaling function ϕ.

由于φ还等于φ0,0,此功能的特征在于正交框架中的以下系数:

  • <φ,φ0,n> = 1只有N= 0且等于0否则

  • <φ,ψ-J,K.> = 0的正面j那and allK.

This expansion can be viewed as a wavelet decomposition structure. Detail coefficients are all zeros and approximation coefficients are all zeros except one equal to 1.

然后,根据以下结果,我们使用重建算法在Dyadic网格上近似函数φ:

对于表单的任何二次理性X=N2-J.其中该功能是连续的,在哪里jis sufficiently large, we have pointwise convergence and

哪里C是常数,并且α是正常常数,这取决于小波规律。

然后使用φ对二元结构的良好近似,我们可以在二次间隔中使用分段常数或分段线性插值η,其具有相似的指数率发生均匀的收敛性:

So using aj-step reconstruction scheme, we obtain an approximation that converges exponentially towards ϕ whenj走向无限。

Approximations are computed over a grid of dyadic rationals covering the support of the function to be approximated.

Since a scaled version of the wavelet function ψ can also be expanded on the (ϕ−1,NN,可以使用相同的方案,在单级重建以适当的小波分解结构开始之后。近似系数是所有零,细节系数是除一个等于1之外的所有零。

For biorthogonal wavelets, the same ideas can be applied on each of the two multiresolution schemes in duality.

注意

This algorithm may diverge if the function to be approximated is not continuous on dyadic rationals.

References

[1] Daubechies,I.在小波上的十次讲座。应用数学中的CBMS-NSF区域会议系列。费城,帕:1992年工业和应用数学协会。

[2]斯特朗,G.和Nguyen。小波和过滤器银行。Wellesley, MA: Wellesley-Cambridge Press, 1996.

也可以看看

||

Introduced before R2006a