covΒΆ

cov returns the covariance of its parameter.

rsCov = cov(rvX)
rsCov = cov(rvX, rvY)

Return Value

rsCov is the covariance.

Parameters

rvX

rvX is a real vector.

rvY

rvY is a real vector.

Example

* cov([-2,3,1])
  6.3333

History

Version Description
5.12.0 New

id-845731