From 5c2e8f1b4a800700a36aaf1f2a4beb860742cf3b Mon Sep 17 00:00:00 2001
From: marwan <>
Date: Tue, 29 Apr 2008 14:49:30 +0000
Subject: [PATCH] window size bug

---
 phasesynchro.m | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/phasesynchro.m b/phasesynchro.m
index d9eaafd..badd599 100644
--- a/phasesynchro.m
+++ b/phasesynchro.m
@@ -60,6 +60,9 @@ function CPRout = phasesynchro(varargin);
 % $Revision$
 %
 % $Log$
+% Revision 5.1  2008/01/25 12:47:25  marwan
+% initial import
+%
 %
 %
 %    Examples: a = sin((1:1000) * 2 * pi/67);
@@ -167,6 +170,7 @@ if isnumeric(varargin{1}) 		% read commandline input
      if size(x,1)==1, x=x'; end, if size(y,1)==1, y=y'; end 
      m=max([size(x,2) size(y,2)]);
      if w > size(x,1); w = size(x,1); end
+     if w > size(y,1); w = size(y,1); end
 
      if method==8 & (m*m0) > 1, 
        m0=1; 
-- 
GitLab