📄 ht.m
字号:
function [out,wcoef,wcoefrest]=HT(Noisy,L,qmf,sigma)
% HT -- Hard Threshold Applied to Wavelet Coefficients.
% Usage
% [out,wcoef,wcoefrest] = HT(Noisy,L,qmf,sigma,coef)
% Inputs
% Noisy 1-d signal. length(y)= 2^J
% L Low-Frequency cutoff for shrinkage (e.g. L=4)
% Should have L << J!
% qmf Quadrature Mirror Filter for Wavelet Transform
% Optional, Default = Symmlet 8.
% sigma Standard deviation of additive Gaussian White Noise.
% Outputs
% out estimate, obtained by applying hard thresholding on
% wavelet coefficients
% wcoef Wavelet Transform of input signal
% wcoefrest Wavelet Transform of estimate
%
n=length(Noisy) ;
wcoef = FWT_PO(Noisy,L,qmf) ;
thresh= sqrt(2*log(n))*sigma;
wcoefrest = HardThresh(wcoef,thresh);
out = IWT_PO(wcoefrest,L,qmf);
% Written by Maureen Clerc and Jerome Kalifa, 1997
% clerc@cmapx.polytechnique.fr, kalifa@cmapx.polytechnique.fr
%
% Part of WaveLab Version 802
% Built Sunday, October 3, 1999 8:52:27 AM
% This is Copyrighted Material
% For Copying permissions see COPYING.m
% Comments? e-mail wavelab@stat.stanford.edu
%
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -