What is difference between corrcoef([A B]) and corrcoef(A, B)?

1 回表示 (過去 30 日間)
Krtin Kala
Krtin Kala 2021 年 6 月 15 日
回答済み: KSSV 2021 年 6 月 15 日
Is there any output difference between both of them? Which format is advisable to use when we wish to find correlation between 2 matrices?

採用された回答

KSSV
KSSV 2021 年 6 月 15 日
Both are same and result into same answer.
A = randn(60,1);
B = randn(60,1);
R1 = corrcoef(A,B)
R2 = corrcoef([A B])

その他の回答 (0 件)

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by