compute_spline_filter.m

来自「小波提升算法的实现」· M 代码 · 共 18 行

M
18
字号
function [g,h] = compute_spline_filter(s,N)% compute_spline_filter - compute the spline filter of a wavelete transform%% function [g,h] = compute_spline_filter(s,N);%%    'N' is the length of the filter (must be even).%    's' is the order of the spline.%    'g' is the low pass filter.%    'h' is the high pass filter.%x = (0:N-1)*2*pi/(N-1);gg = ; % compute here the fourier transformg = ifft(gg);g = [g(N/2+1:end),g(1:N/2)];h = (-1).^(0:N-1) .* g;

⌨️ 快捷键说明

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