How to calculate covariace of two random variable

2 visualizzazioni (ultimi 30 giorni)
Dear User
I have two random numbers for example:
X: mean=0.05 & Standard deviation=0.005
Y: mean=0.0455 & Standard deviation=0.005
How do I calculate Covariance(X,Y)?
Regards

Risposta accettata

Matt J
Matt J il 15 Apr 2019
cov(x(:),y(:))
  2 Commenti
Mohsen
Mohsen il 15 Apr 2019
Thank you
But I only have mean and std. of the distributions, the vector of numbers is not available?
Matt J
Matt J il 15 Apr 2019
Modificato: Matt J il 15 Apr 2019
The covariance cannot be derived from mean and std.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Random Number Generation in Help Center e File Exchange

Prodotti

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by