Page 1 of 1

Non-uniform sampling of time series data

Posted: Wed Aug 10, 2011 10:16
by dangus
Hi all,

I was wondering if anybody knows of software to create a recurrence plot of data that is coded with a time point (in milliseconds), and a value from that time point. The software I have found so far assumes that the time series is uniformly sampled as far as I can tell. An example of my data is:

Time, Amplitude
11234, 9.6
11398, 10.2
12001, 1.7
12121, 2.0

I'd like to create a recurrence plot indicating the difference between the amplitude values, and also one where if a later occurring sample has a greater value than an earlier occurring sample that it is indicated as 1, and 0 otherwise.

Thanks,

Dan

Re: Non-uniform sampling of time series data

Posted: Fri Oct 28, 2011 17:24
by sultornsanee
You can download CRP toolbox (Dr. Norbert Marwan)

Re: Non-uniform sampling of time series data

Posted: Fri Oct 28, 2011 21:51
by Norbert
Although the CRP toolbox allows to provide a certain vector with arbitrary time scale, finally, the plot of the matrix is equally sampled. Unfortunately.

But the solution is to use sparse matrices in Matlab and plot the RP using the spy command. This would allow non-equally sampled RPs. See here for an example how to use sparse/spy:
http://www.agnld.uni-potsdam.de/~marwan ... #long_data

However, I'm a bit concerned about this procedure. If we have larger distances, should then the recurrence point in the RP not be larger (covering a larger area in the plot)?