1 function y = sfb(lo, hi, sf)
3 % Synthesis filter bank
8 % lo - low frqeuency input
9 % hi - high frequency input
10 % sf - synthesis filters
11 % sf(:, 1) - lowpass filter (even length)
12 % sf(:, 2) - highpass filter (even length)
17 % WAVELET SOFTWARE AT POLYTECHNIC UNIVERSITY, BROOKLYN, NY
18 % http://taco.poly.edu/WaveletSoftware/
22 lo = upfirdn(lo, sf(:,1), 2, 1);
23 hi = upfirdn(hi, sf(:,2), 2, 1);
25 y(1:L-2) = y(1:L-2) + y(N+[1:L-2]);