Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
CRP Toolbox for MATLAB
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Norbert Marwan
CRP Toolbox for MATLAB
Commits
b739e16d
Commit
b739e16d
authored
19 years ago
by
marwan
Browse files
Options
Downloads
Patches
Plain Diff
plugin support for order patterns
parent
c7f30528
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
private/crp_plugin.m
+13
-4
13 additions, 4 deletions
private/crp_plugin.m
with
13 additions
and
4 deletions
private/crp_plugin.m
+
13
−
4
View file @
b739e16d
...
@@ -10,6 +10,9 @@ function [X, matext] = crp_plugin(x, y, m, t, e, mflag, hCRP, plugin_path, silen
...
@@ -10,6 +10,9 @@ function [X, matext] = crp_plugin(x, y, m, t, e, mflag, hCRP, plugin_path, silen
% $Revision$
% $Revision$
%
%
% $Log$
% $Log$
% Revision 4.2 2005/04/15 09:03:03 marwan
% minor bugfix in plugin section
%
% Revision 4.1 2005/04/08 09:03:53 marwan
% Revision 4.1 2005/04/08 09:03:53 marwan
% plugin added
% plugin added
%
%
...
@@ -35,7 +38,7 @@ try
...
@@ -35,7 +38,7 @@ try
% call extern rp programme
% call extern rp programme
if
~
silent
,
set
(
findobj
(
'Tag'
,
'Status'
,
'Parent'
,
findobj
(
'Parent'
,
hCRP
,
'Tag'
,
'CRPPlot'
)),
'String'
,
'Compute Recurrence Points'
),
drawnow
,
end
if
~
silent
,
set
(
findobj
(
'Tag'
,
'Status'
,
'Parent'
,
findobj
(
'Parent'
,
hCRP
,
'Tag'
,
'CRPPlot'
)),
'String'
,
'Compute Recurrence Points'
),
drawnow
,
end
m_str
=
{
'MAX'
,
'EUC'
,
'MIN'
,
''
,
''
,
''
,
''
,
''
,
'EUC'
};
m_str
=
{
'MAX'
,
'EUC'
,
'MIN'
,
'
NR
'
,
'
FAN
'
,
'
IN
'
,
'
OM
'
,
'
OP
'
,
'EUC'
};
dis_sign
=
1
;
if
mflag
==
9
,
dis_sign
=
-
1
;
end
dis_sign
=
1
;
if
mflag
==
9
,
dis_sign
=
-
1
;
end
system
([
plugin_path
,
filesep
,
rp_plugin
,
' -m '
,
num2str
(
1
),
...
system
([
plugin_path
,
filesep
,
rp_plugin
,
' -m '
,
num2str
(
1
),
...
...
@@ -60,19 +63,25 @@ try
...
@@ -60,19 +63,25 @@ try
if
~
silent
,
set
(
findobj
(
'Tag'
,
'Status'
,
'Parent'
,
findobj
(
'Parent'
,
hCRP
,
'Tag'
,
'CRPPlot'
)),
'String'
,
'Plot Recurrence Points'
),
drawnow
,
end
if
~
silent
,
set
(
findobj
(
'Tag'
,
'Status'
,
'Parent'
,
findobj
(
'Parent'
,
hCRP
,
'Tag'
,
'CRPPlot'
)),
'String'
,
'Plot Recurrence Points'
),
drawnow
,
end
switch
mflag
switch
mflag
case
1
%%%%%%%%%%%%%%%%% maximum norm
%%%%%%%%%%%%%%%%% maximum norm
case
1
errcode
=
111
;
matext
=
[
num2str
(
round
(
100
*
e
)/
100
)
'\sigma (fixed distance maximum norm)'
];
matext
=
[
num2str
(
round
(
100
*
e
)/
100
)
'\sigma (fixed distance maximum norm)'
];
case
2
%%%%%%%%%%%%%%%%% euclidean norm
%%%%%%%%%%%%%%%%% euclidean norm
case
2
errcode
=
112
;
errcode
=
112
;
matext
=
[
num2str
(
round
(
100
*
e
)/
100
)
'\sigma (fixed distance euclidean norm)'
];
matext
=
[
num2str
(
round
(
100
*
e
)/
100
)
'\sigma (fixed distance euclidean norm)'
];
case
3
%%%%%%%%%%%%%%%%% minimum norm
%%%%%%%%%%%%%%%%% minimum norm
case
3
errcode
=
113
;
errcode
=
113
;
matext
=
[
num2str
(
round
(
100
*
e
)/
100
)
'\sigma (fixed distance minimum norm)'
];
matext
=
[
num2str
(
round
(
100
*
e
)/
100
)
'\sigma (fixed distance minimum norm)'
];
%%%%%%%%%%%%%%%%% order patterns
case
8
errcode
=
118
;
matext
=
''
;
%%%%%%%%%%%%%%%%% global RP
%%%%%%%%%%%%%%%%% global RP
case
9
case
9
errcode
=
119
;
X
=
X
*
(
max
([
max
(
x
),
max
(
y
)])
-
min
([
min
(
x
),
min
(
y
)])
);
X
=
X
*
(
max
([
max
(
x
),
max
(
y
)])
-
min
([
min
(
x
),
min
(
y
)])
);
matext
=
''
;
matext
=
''
;
end
end
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment