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

*** empty log message ***

parent e486088a
No related branches found
No related tags found
No related merge requests found
......@@ -28,7 +28,7 @@ function varargout=histn(varargin)
%
% See also HIST, HIST2, BAR3, MI.
% Copyright (c) 2002-2003
% Copyright (c) 2002-2007
% Andre Sitz, Norbert Marwan, Potsdam University, Germany
% http://www.agnld.uni-potsdam.de
%
......@@ -36,6 +36,9 @@ function varargout=histn(varargin)
% $Revision$
%
% $Log$
% Revision 1.10 2006/10/24 14:16:16 marwan
% minor change: sigma in title line of RP shown only for normalised data
%
% Revision 1.9 2004/11/10 07:05:37 marwan
% initial import
%
......@@ -117,8 +120,8 @@ end
for k=1:m;
minX = repmat(min(x{k}(1:sm_length,:)),length(x{k}(1:sm_length,:)),1);
rangeX = repmat(max(x{k}(1:sm_length,:)-repmat(min(x{k}(1:sm_length,:)),length(x{k}(1:sm_length,:)),1)),length(x{k}(1:sm_length,:)),1);
x1(k)={(x{k}(1:sm_length,:) - minX) ./ rangeX - eps};
if m>1 & sm_length/(m-1)<=lag, lag=floor(sm_length/(m-1))-1; warning(['Lag is too large. Using ',num2str(lag),' instead.']), end
x1(k) = {(x{k}(1:sm_length,:) - minX) ./ rangeX - eps};
if m>1 & sm_length/(m-1) <= lag, lag = floor(sm_length / (m-1)) - 1; warning(['Lag is too large. Using ',num2str(lag),' instead.']), end
end
temp=0; kl=0;
......
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