Azzera filtri
Azzera filtri

correlation coefficient

1 visualizzazione (ultimi 30 giorni)
milad babaei
milad babaei il 18 Giu 2011
This function will generate a normal distribution conditional by bounds:
i run above code 2times and have 2 vectors by this format x=(1,i),i=1e4 and now i want to make correlation coefficient between those variables.what should i do?

Risposta accettata

Wolfgang Schwanghart
Wolfgang Schwanghart il 18 Giu 2011
Hi,
doc corrcoef
Best regards, W.
  2 Commenti
milad babaei
milad babaei il 19 Giu 2011
hi
would you please explain me more on using this command??
Walter Roberson
Walter Roberson il 19 Giu 2011
When x1 and x2 are your two vectors, then
R = corrcoeff([x1;x2]);

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Descriptive Statistics in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by