[34f3ea]: reference / ref_ufilterbank.m  Maximize  Restore  History

Download this file

28 lines (17 with data), 498 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
function c=ref_ufilterbank(f,g,a);
%REF_UFILTERBANK Uniform filterbank by pconv
% Usage: c=ref_ufilterbank(f,g,a);
%
if nargin<3
error('%s: Too few input parameters.',upper(mfilename));
end;
[a,M,longestfilter,lcm_a]=assert_filterbankinput(g,a,1);
[f,Ls,W,wasrow,remembershape]=comp_sigreshape_pre(f,'UFILTERBANK',0);
L=ceil(max(Ls,longestfilter)/lcm_a)*lcm_a;
N=L/a;
c=zeros(N,M,W,assert_classname(f));
for w=1:W
for m=1:M
c(:,m,w)=pfilt(f(:,w),g{m},a);
end;
end;

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks