lpd.m

来自「拉普拉斯分解」· M 代码 · 共 36 行

M
36
字号
function y = lpd(x, pfilt, nlev)% LPD   Multi-level Laplacian pyramid decomposition%%	y = lpdecn(x, pfilt, nlev)%% Input:%   x:      input signal (of any dimension)%   pfilt:  pyramid filter name (see PFILTERS)%   nlev:   number of decomposition level%% Output:%   y:      output in a cell vector from coarse to fine layers%% See also: LPR% Get the pyramidal filters from the filter name[h, g] = pfilters(pfilt);% Decide extension modeswitch pfilt    case {'9-7', '9/7', '5-3', '5/3', 'Burt'}        extmod = 'sym';            otherwise        extmod = 'per';        endy = cell(1, nlev+1);for n = 1:nlev    [x, y{nlev-n+2}] = lpdec1(x, h, g, extmod);endy{1} = x;

⌨️ 快捷键说明

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