corr2 function with complex vectors.

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일

0 개 추천

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.

댓글을 달려면 로그인하십시오.

질문:

2016년 5월 13일

댓글:

2016년 5월 14일

Community Treasure Hunt

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

Start Hunting!

Translated by