Page 1 of 1

Complex data

Posted: Thu Oct 4, 2007 21:01
by adrianw
Hi all.

I have been experimenting with the toolbox using complex data. The crp function is happy with complex numbers, but the crqa function raises an error and discards the imaginary part.

I can see three possible ways around this:

a) Load the real and imaginary components into separate columns of a matrix. The crp function doesn't seem to support this approach.

b) Frequency shift my data to make it all real. This works, but you tend to just see the new centre frequency.

c) Rewrite bits of the toolbox as needed.

Before downloading the toolbox I had already started on my own functions and the only problem I can foresee at the moment is being careful with what goes into the Heavisides.

What sort of approach do people tend to take when using the toolbox?

Any hints appreciated.

Thanks

Adrian

P.S. I'm a newbie so please be gentle :)

Re: Complex data

Posted: Fri Oct 5, 2007 23:05
by Norbert
Dear Adrian,

you can try the command crp2, which allows to compute a recurrence plot from a multicolumn vector, representing the phase space vectors, or, as in your case, the two components real and imaginary part.

Best regards
Norbert

Re: Complex data

Posted: Sat Oct 6, 2007 18:02
by adrianw
Norbert

Thank you very much - that's just what I was looking for.

I should have read the whole manual first :roll:

Thanks

Adrian