iwt_po.sci
来自「小波分解源代码」· SCI 代码 · 共 32 行
SCI
32 行
function x = IWT_PO(wc,L,qmf)
// IWT_PO -- Inverse Wavelet Transform (periodized, orthogonal)
// Usage
// x = IWT_PO(wc,L,qmf)
// Inputs
// wc 1-d wavelet transform: length(wc) = 2^J.
// L Coarsest scale (2^(-L) = scale of V_0); L << J;
// qmf quadrature mirror filter
// Outputs
// x 1-d signal reconstructed from wc
//
// Description
// Suppose wc = FWT_PO(x,L,qmf) where qmf is an orthonormal quad. mirror
// filter, e.g. one made by MakeONFilter. Then x can be reconstructed by
// x = IWT_PO(wc,L,qmf)
//
// See Also
// FWT_PO, MakeONFilter
//
// Copyright Aldo I Maalouf
wcoef = ShapeAsRow(wc);
x = wcoef(1:2^L);
[n,J] = dyadlength(wcoef);
for j=L:J-1
x = UpDyadLo(x,qmf) + UpDyadHi(wcoef(dyad(j)),qmf) ;
end
x = ShapeLike(x,wc);
endfunction
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?