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

2 visualizaciones (últimos 30 días)
Krtin Kala
Krtin Kala el 15 de Jun. de 2021
Respondida: KSSV el 15 de Jun. de 2021
Is there any output difference between both of them? Which format is advisable to use when we wish to find correlation between 2 matrices?

Respuesta aceptada

KSSV
KSSV el 15 de Jun. de 2021
Both are same and result into same answer.
A = randn(60,1);
B = randn(60,1);
R1 = corrcoef(A,B)
R2 = corrcoef([A B])

Más respuestas (0)

Productos


Versión

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by