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

bug in minimal length for diagonal and vertical lines fixed

parent 3ef143b6
No related branches found
No related tags found
No related merge requests found
...@@ -135,6 +135,9 @@ function xout=crqa(varargin) ...@@ -135,6 +135,9 @@ function xout=crqa(varargin)
% $Revision$ % $Revision$
% %
% $Log$ % $Log$
% Revision 5.12 2005/03/16 13:16:12 marwan
% bug in output fixed (same time scales for all sub-plots)
%
% Revision 5.11 2005/03/16 12:23:08 marwan % Revision 5.11 2005/03/16 12:23:08 marwan
% support long data series by using crp_big % support long data series by using crp_big
% %
...@@ -948,11 +951,11 @@ X_theiler=double(triu(X,theiler_window))+double(tril(X,-theiler_window)); ...@@ -948,11 +951,11 @@ X_theiler=double(triu(X,theiler_window))+double(tril(X,-theiler_window));
[a b]=dl(X_theiler); [a b]=dl(X_theiler);
warning off warning off
errcode=201; errcode=201;
b(find(b<=lmin))=[]; b(find(b<lmin))=[];
[c d]=tt(X); [c d]=tt(X);
warning off warning off
errcode=202; errcode=202;
d(find(d<=vmin))=[]; d(find(d<vmin))=[];
errcode=203; errcode=203;
RR=sum(X_theiler(:))/(N(1)*N(2)); RR=sum(X_theiler(:))/(N(1)*N(2));
......
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