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

📄 postp1d_rr.m

📁 多小波matlab程序包
💻 M
字号:
function fhat=postp1D_rr(fhatp,flt)
%fhat=postp1D_rr(fhatp,flt)
%
% This function performs oversampled ("repeated row")  postprocessing of
% reconstructed preprocessed 1-dimensional signal. For details see [SW].
%
% 对重构后的信号进行后滤波;这个函数与prep1D_rr.m共同使用;
%
%  Input:                                    
%    flt        string of characters, name of the filter which was used; 
%               for possible names and short descriptions see coef.m
%    fhatp      r by n real array, reconstructed preprocessed signal;
%               each row corresponds to a scaling function  //这是重构后的信号;
%
%  Output: 
%    fhat       1 by n real array, reconstructed signal
%
%  Example of Usage:
%    fhat=postp1D_rr(fhatp,'ghm')

% Author: Vasily Strela
% COPYRIGHT 1997,98 by Vasily Strela

[L,H]=coef(flt);
[nf,ns]=size(L);
ns=ns/nf;

H0=zeros(nf);
for i=1:ns
  H0=H0+L(:,nf*(i-1)+1:nf*i);
end
[V,D]=eig(H0'/(sqrt(2)));
fl=0;
for i=1:nf
  if abs(D(i,i)-1.)<0.000001
    fl=i;
  end
end
a0=V(:,fl);
big=0;
fl=0;
for i=1:nf
  if abs(a0(i))>abs(big)
    big=a0(i);
    fl=i;
  end
end

fhat=fhatp(fl,:);





⌨️ 快捷键说明

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