rtspec
Recurrence time spectrum.
Syntax
rtspec(x,m,t,e,fs,...)
p=rtspec(...)
[p f]=rtspec(...)
Description
rtspec(x,m,t,e,fs,...) calculates the recurrence time spectrum based on a recurrence plot using embedding dimension m, embedding delay t, recurrence threshold e, and sampling frequency fs. The input arguments are similar to those of the command crp.
p = rtspec(...) returns the recurrence time spectrum in vector p.
[p f] = rtspec(...) returns the recurrence time spectrum in vector p and the vector of corresponding frequencies f.
Example
fs = 22;
x = sin(2*pi * [0:1/fs:44]);
rtspec(x,2,1,.1,fs)
