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

bugfix for mixed output RTE and T2

bugfix for recurrence time estimation
parent 55f3e914
No related branches found
Tags v5.18
No related merge requests found
......@@ -149,6 +149,9 @@ function xout=crqa(varargin)
% $Revision$
%
% $Log$
% Revision 5.45 2012/11/14 13:07:03 marwan
% bugfix for RTE for very short time series
%
% Revision 5.44 2010/09/09 10:40:01 marwan
% bugfix in cross version for calculation of network measures
%
......@@ -778,7 +781,7 @@ case 'init'
'Tag','crqa_axes_RTE',...
'Box','On',...
'Position',[11.2017 axes_base+0*(axes_height+axes_hoffset) 28.1785+15 axes_height]);
ylabel('T_1')
ylabel('RTE')
h=axes(props.axes,...
'Tag','crqa_axes_T2',...
......@@ -1265,7 +1268,7 @@ for i=1:wstep:Nx-w;
warning off
errcode=271;
b(b<lmin)=[];
[c d dw]=tt(X_theiler);
[c d dw]=tt(X);
hist_v = [hist_v; d];
hist_w = [hist_w; dw];
N_hist_v(i) = length(d);
......@@ -1430,7 +1433,7 @@ if ~nogui
errcode=30;
h=findobj('Tag','crqa_Fig'); if ~isempty(h), set(0,'CurrentFigure',h(1)); end
tx={'RR';'DET';'L';'ENTR';'LAM';'TT';'RTE';'T_2';'Variance';'Covariance'};
index=[1,2,3,5,6,7,9,11,15,16,17];
index=[1,2,3,5,6,7,11,10,15,16,17];
tags={'crqa_axes_RR','crqa_axes_DET','crqa_axes_L','crqa_axes_ENTR','crqa_axes_LAM','crqa_axes_TT','crqa_axes_RTE','crqa_axes_T2','crqa_axes_Var','crqa_axes_CoVar'};
h=findobj('Tag','crqa_axes_RR','Parent',gcf); h_axes.h(1)=h(1);
h=findobj('Tag','crqa_axes_DET','Parent',gcf); h_axes.h(2)=h(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