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

axis-error

parent 2024baf7
No related branches found
No related tags found
No related merge requests found
......@@ -70,6 +70,9 @@ function out=crqad(varargin)
% $Revision$
%
% $Log$
% Revision 2.4 2005/03/16 11:19:02 marwan
% help text modified
%
% Revision 2.3 2004/11/12 08:40:46 marwan
% order patterns recurrence plot added
%
......@@ -84,7 +87,7 @@ global props
init_properties
lmin=3;
lmin=10;
w=[]; method='max'; method_n=1; t=1; m=1; e=.1;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% check the input
......@@ -234,7 +237,7 @@ warning off
if size(x1,1)<size(x1,2), x1=x1'; end
if size(x2,1)<size(x2,2), x2=x2'; end
x=crp(x1,x2,m,t,e,method,'sil','nor');
x=crp2(x1,x2,m,t,e,method,'sil','nor');
warning off
N=size(x);
x3=zeros(2*N(2)+N(1),N(2));
......@@ -295,7 +298,8 @@ h=text(0,0,'C','fontw','b');set(h,'un','pi'),set(h,'pos',[9,16,0])
subplot(2,2,4), plot([-w:w],L,'k','linew',.7),
set(gca,'fonta','i'),xlabel('Lag')
axis([-w w 0 max(L)]),ylabel('Averaged Line Length'),grid on
axis([-w w 0 max([max(L) 1])]),ylabel('Averaged Line Length'),grid on
h=text(0,0,'D','fontw','b');set(h,'un','pi'),set(h,'pos',[9,16,0])
case 2
......@@ -322,7 +326,7 @@ else
out.Lp=L;
end
x=crp(x1,-x2,m,t,e,method,'sil');
x=crp2(x1,-x2,m,t,e,method,'sil');
warning off
N=size(x);
......
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