corr2 function with complex vectors.
1 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(1 个)
Ahmet Cecen
2016-5-13
If you have 2 complex vectors, why not just use corr instead? It should give you a valid coefficient.
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!