This function returns the covariance between two datasets. Let X and Y be two datasets and and their respective means, then the covariance between the two is defined as:
double cov(dataset vx, dataset vy[, double avex, double avey])
|Note: In Origin 92, avex and avey can be omited when setting parameters. Their default values are the average of vx and vy datasets, respectively.
Minimum Origin Version Required: Origin 92 SR0
Returns the covariance between two datasets vx and vy.
newbook; range aa = 1!1; range bb = 1!2; aa = uniform(32); bb = uniform(32); covariance = cov(aa,bb); covariance = ;