General discussions and questions about recurrence plot and recurrence network related methods.
- Posts: 1
- Joined: Thu Aug 11, 2011 13:30
- Affiliation (Univ., Inst., Dept.): Indian Institute of Technology Guwahati
- Location: Guwahati, India
- Research field: Electro Cardiogram
I am very much new to RP, I read something about RP in this site. Now my doubt is following.
I have seen, A sin wave generates RP only diagonal lines. The code I have written in matlab generating cross diagonal lines. Once you check it. And please tell me where I am doing mistake?
Code: Select all
N = length(x);
S = zeros(N, N);
for i = 1:N,
S(:,i) = abs( repmat( x(i), N, 1 ) - x(:) );
% imagesc(t, t, S)
% axis square
imagesc(t, t, flipud(S) < thr)
colormap([1 1 1;0 0 0])
the above program is for thershold value (thr) = 0.05;
How to get the exact RP of sine wave?
- Posts: 29
- Joined: Tue Oct 12, 2010 21:05
- Affiliation (Univ., Inst., Dept.): Northeastern University
- Location: Boston, Massachusetts, USA
- Research field: Pattern Recognition Analysis
- Location: Network/Nano Science and Engineering Laboratory, Northeastern University, Boston, USA
I recommend to use CRP toolbox. So you can get a right RP and RQA.
- Posts: 183
- Joined: Wed Jan 4, 2006 11:03
- Affiliation (Univ., Inst., Dept.): Potsdam Institute for Climate Impact Research, Germany
- Location: Potsdam, Germany
- Location: Potsdam Institute for Climate Impact Research, Germany
The answer is that you have not embedded your time series. Without embedding you will similar dynamics in positive and negative time direction, i.e., x(i, i+1, i+2,...) = x(j, j-1, j-2, ...). This will cause diagonals perpendicular to the main diagonal. This should be explained in the Physics Reports paper as far as I remember.