[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
cov(x,y) = matrix or number?
From: |
Muhali |
Subject: |
cov(x,y) = matrix or number? |
Date: |
Sun, 11 Mar 2012 18:41:11 -0700 (PDT) |
I just noticed that octave gives
O> X = [1 2; 1 3; 2 5] ;
O> cov(X(:,1), X(:,2))
ans = 0.833
while matlab returns a matrix
M> cov(X(:,1), X(:,2))
ans =
0.3333 0.8333
0.8333 2.3333
Should this not be compatible?
--
View this message in context:
http://octave.1599824.n4.nabble.com/cov-x-y-matrix-or-number-tp4465087p4465087.html
Sent from the Octave - General mailing list archive at Nabble.com.
- cov(x,y) = matrix or number?,
Muhali <=
- Re: cov(x,y) = matrix or number?, Jordi Gutiérrez Hermoso, 2012/03/11
- Re: cov(x,y) = matrix or number?, Thomas D. Dean, 2012/03/11
- Re: cov(x,y) = matrix or number?, Muhali, 2012/03/12
- Re: cov(x,y) = matrix or number?, Jordi Gutiérrez Hermoso, 2012/03/12
- Re: cov(x,y) = matrix or number?, Ismael Núñez-Riboni, 2012/03/12
- Re: cov(x,y) = matrix or number?, Jordi Gutiérrez Hermoso, 2012/03/12
- Re: cov(x,y) = matrix or number?, Jordi Gutiérrez Hermoso, 2012/03/12
- Re: cov(x,y) = matrix or number?, Ismael Núñez-Riboni, 2012/03/12