How to calculate variance?
44 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
CalebJones
le 16 Sep 2019
Réponse apportée : Sebastian Körner
le 16 Sep 2019
matrix of 1510 x 15? 15 is number of channels...so i wanted variance of every channel.
0 commentaires
Réponse acceptée
Sebastian Körner
le 16 Sep 2019
A= *your matrix*
V = var(A);
If A is a matrix whose columns are random variables and whose rows are observations, V is a row vector containing the variances corresponding to each column.
0 commentaires
Plus de réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!