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

조회 수: 2 (최근 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