SourceForge has been redesigned. Learn more.
Close

Diff of /comp/comp_filterbank_fft.m [000000] .. [b6ad1a]  Maximize  Restore

Switch to side-by-side view

--- a
+++ b/comp/comp_filterbank_fft.m
@@ -0,0 +1,16 @@
+function c=comp_filterbank_fft(F,G,a)
+%COMP_FILTERBANK  Compute filtering in FD
+%
+%
+
+M = numel(G);
+[L,W] = size(F);
+c = cell(M,1);
+N = L./a;
+
+for m=1:M
+    c{m}=zeros(N(m),W,assert_classname(F,G));
+    for w=1:W
+        c{m}(:,w)=ifft(sum(reshape(F(:,w).*G,N(m),a(m)),2))/a(m);
+    end;
+end