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

Close

Diff of /blockproc/blockplot.m [76dce7] .. [89ea83] Maximize Restore

  Switch to side-by-side view

--- a/blockproc/blockplot.m
+++ b/blockproc/blockplot.m
@@ -6,9 +6,17 @@
 %         p     : JAVA object of the class net.sourceforge.ltfat.SpectFrame.
 %         F     : Frame object.
 %         c     : Block coefficients.
+%         cola  : (Optional) overlap from previous block.
+%
+%   Output parameters:
+%         cola  : Overlap to the next block.
 %
 %   `blockplot(p,F,c)` appends the block coefficients `c` to the running 
 %   coefficient plot in `p`.
+%
+%   `cola=blockplot(p,F,c,cola)` doest the same, but adds `cola` to the 
+%   first respective coefficients in `c` and returns last coefficients from
+%   `c`. This is only relevant for the sliced window blocking approach.
 
 if size(c,2)>1
    error('%s: Only one channel input is supported.',upper(mfilename));
@@ -32,8 +40,6 @@
    end
 end
 
-
-
 ctf = cast(ctf,'single');
 javaMethod('append',p,ctf);