Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Diff of /comp/comp_iuwpfbt.m [931198] .. [3ddab0] Maximize Restore

  Switch to side-by-side view

--- a/comp/comp_iuwpfbt.m
+++ b/comp/comp_iuwpfbt.m
@@ -35,7 +35,7 @@
     
     if(pOutIdxs(jj))
        % Add to the existing subband
-       c(:,pOutIdxs(jj),:) = 0.5*c(:,pOutIdxs(jj),:)+0.5*reshape(ctmp,size(ctmp,1),1,size(ctmp,2));
+       c(:,pOutIdxs(jj),:) = (1/sqrt(2))*(c(:,pOutIdxs(jj),:)+reshape(ctmp,size(ctmp,1),1,size(ctmp,2)));
     else
        % We are at the root.
        f = ctmp;