corr2 function with complex vectors.

5 ビュー (過去 30 日間)
Nina Bob
Nina Bob 2016 年 5 月 13 日
コメント済み: Nina Bob 2016 年 5 月 14 日
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.

回答 (1 件)

Ahmet Cecen
Ahmet Cecen 2016 年 5 月 13 日
If you have 2 complex vectors, why not just use corr instead? It should give you a valid coefficient.
  1 件のコメント
Nina Bob
Nina Bob 2016 年 5 月 14 日
I have already use it; but I am not sure that it give the best results.

サインインしてコメントする。

Community Treasure Hunt

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

Start Hunting!

Translated by