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

📄 edgeunfold.sci

📁 小波分解源代码
💻 SCI
字号:
function extra = edgeunfold(which,xc,bp,bm)
// edgeunfold -- Undo folding projection with (+,-) polarity at EDGES
//  Usage
//    extra = endfold(which,xc,bp,bm)
//  Inputs
//   which  string, 'left'/'right', indicating which edge we are at
//    xc     unfolded data, center window, produced by unfold
//    bp     interior of window
//    bm     exterior of window
//  Outputs
//    extra  extra contribution to central packet
//
//  Description
//    The result should be added to the central packet to
//    ensure exact reconstruction at edges.
//
//  See Also
//    unfold, CPSynthesis, CPImpulse
//
//  Copyright Aldo I Maalouf

	n = length2(xc);
	m = length2(bp);
	extra = xc.*0;

	if string(which)=='left',
		front = 1:m;
		extra(front) = xc(front) .* (1-bp)./bp;
	else
		back  = n:-1:(n+1-m);
		extra(back) = xc(back) .* (1-bp)./bp;
	end	
	endfunction

⌨️ 快捷键说明

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