How to calculate variance?
37 views (last 30 days)
Sebastian Körner on 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.