⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 multibayes2.m

📁 基于小波变换的多种去噪方法在matlab上的实现
💻 M
字号:
function ws = MultiBayes2(wc,L)
%
%%%%%%%%%%%%%%%It's my own function!!!!!
%
% MultiBayes2 -- Apply Shrinkage to Wavelet Coefficients 2-d
%  Usage 
%    ws = MultiBayes(wc,L)
%  Inputs 
%    wc    2-d Wavelet Transform of noisy sequence with N(0,1) noise
%    L     low-frequency cutoff for Wavelet Transform
%  Outputs 
%    ws    result of applying BayesThresh to each dyadic block
%
	[n,J] = dyadlength(wc);
	ws = wc;
    for j=(J-1):-1:L
        [t1,t2]=dyad2HH(j);
        ws(t1,t2)=BayesThresh2(wc(t1,t2));
        [t1,t2]=dyad2HL(j);
        ws(t1,t2)=BayesThresh2(wc(t1,t2));
        [t1,t2]=dyad2LH(j);
        ws(t1,t2)=BayesThresh2(wc(t1,t2));
    end

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -