corr2 function with complex vectors.

5 visualizzazioni (ultimi 30 giorni)
Nina Bob
Nina Bob il 13 Mag 2016
Commentato: Nina Bob il 14 Mag 2016
Hi, can anyone help me on how to compute the correlation between 2 complex vectors, by using the function corr2. Due to when I use this function it give me as error: Function CORR2 expected its first input, A, to be real.

Risposte (1)

Ahmet Cecen
Ahmet Cecen il 13 Mag 2016
If you have 2 complex vectors, why not just use corr instead? It should give you a valid coefficient.
  1 Commento
Nina Bob
Nina Bob il 14 Mag 2016
I have already use it; but I am not sure that it give the best results.

Accedi per commentare.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by