Skip to content
Snippets Groups Projects
Commit 5c2e8f1b authored by marwan's avatar marwan
Browse files

window size bug

parent 9d224a2d
No related branches found
No related tags found
Loading
...@@ -60,6 +60,9 @@ function CPRout = phasesynchro(varargin); ...@@ -60,6 +60,9 @@ function CPRout = phasesynchro(varargin);
% $Revision$ % $Revision$
% %
% $Log$ % $Log$
% Revision 5.1 2008/01/25 12:47:25 marwan
% initial import
%
% %
% %
% Examples: a = sin((1:1000) * 2 * pi/67); % Examples: a = sin((1:1000) * 2 * pi/67);
...@@ -167,6 +170,7 @@ if isnumeric(varargin{1}) % read commandline input ...@@ -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 if size(x,1)==1, x=x'; end, if size(y,1)==1, y=y'; end
m=max([size(x,2) size(y,2)]); m=max([size(x,2) size(y,2)]);
if w > size(x,1); w = size(x,1); end 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, if method==8 & (m*m0) > 1,
m0=1; m0=1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment