Diff of /reference/ref_ufilterbank.m [34f3ea] .. [931198]  Maximize  Restore

Switch to unified view

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

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

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks