RQA

Specific discussion regarding applications.

RQA

Postby sultornsanee » Sat Mar 19, 2011 07:38

After I create recurrence matrix using "crp" function and I get a recurrence matrix, can I calculate RQA from this matrix?

I read your manual but it seems all function needed "time series" as input. :?
Sivarit Sultornsanee (Tony)

Network/Nano Science and Engineering Laboratory (NSE Lab)
360 Huntington Ave., Room 320 SN, Boston, MA 02038, USA
E-mail: SULTORNSANEE.S@HUSKY.NEU.EDU
User avatar
sultornsanee
Senior
 
Posts: 29
Joined: Tue Oct 12, 2010 21:05
Location: Network/Nano Science and Engineering Laboratory, Northeastern University, Boston, USA

Re: RQA

Postby Norbert » Sun Mar 20, 2011 22:59

yes, you can do it. for example:

Code: Select all
% create recurrence plot
X = crp(timeseries,'silent');

% get distributions of line lengths
% (actually you should apply here the Theiler window before, but I omit it for simplification)
[m l] = dl(X); % l is a list of all line lengths of diagonal lines
[m v] = tt(X); % v is a list of all line lengths of vertical lines

% recurrence rate
mean(X(:))

% determinism
sum(l(l>=lmin))/sum(X(:)) % where lmin is the minimal diagonal line length, e.g. lmin=2

% mean diagonal line length
mean(l(l>=lmin))

% maximal diagonal line length
max(l(l>=lmin))

% entropy
histL=hist(l,1:length(X));
entropy(histL(:));

for the vertical line based measures (laminarity, trapping time etc.) just use vector v instead of l

best
norbert
User avatar
Norbert
Expert
 
Posts: 173
Joined: Wed Jan 4, 2006 11:03
Location: Potsdam Institute for Climate Impact Research, Germany

Re: RQA

Postby sultornsanee » Mon Mar 21, 2011 00:16

Thank you very much ... I will try to test your codes. :D
Sivarit Sultornsanee (Tony)

Network/Nano Science and Engineering Laboratory (NSE Lab)
360 Huntington Ave., Room 320 SN, Boston, MA 02038, USA
E-mail: SULTORNSANEE.S@HUSKY.NEU.EDU
User avatar
sultornsanee
Senior
 
Posts: 29
Joined: Tue Oct 12, 2010 21:05
Location: Network/Nano Science and Engineering Laboratory, Northeastern University, Boston, USA

Re: RQA

Postby Parri-Dee » Sat Oct 11, 2014 11:54

After I create recurrence matrix using "crp" function and I get a recurrence matrix, can I calculate RQA from this matrix?
Parri-Dee
Parri-Dee
Junior
 
Posts: 1
Joined: Sat Oct 11, 2014 11:51


Return to Applications

Who is online

Users browsing this forum: No registered users and 1 guest

cron