cov

Covariance

📝 Syntax

  • C = cov(M)

📥 Input argument

  • M - a vector or matrix

📤 Output argument

  • V - Covariance of M.

📄 Description

C = cov(M) returns the covariance.

💡 Example

M = [4 -7 3; 1 4 -2; 10 7 9];
C = cov(M)

🔗 See also

var, mean.

🕔 History

Version
📄 Description

1.0.0

initial version

Last updated

Was this helpful?