Covariance

 

cov(A,B), calculate the covariance between two vectors.


A

B

1

=[7,9,6,23,56,1,6]

=[6,1,56,23,6,9,7]

2

=cov(A1,B1)


A2 Calculate the covariance of A1 and B1