Contents Previous Next Subchapters

Computing the Variance of Each Column
Syntax colvar(x)
See Also colstd , colnorm , colmax , colmean , colmedian , colmad , colmse

Description
Returns the variance of each column of x where x is a real or double-precision matrix. The return value is a row vector with the same number of columns as x. The return value has the same type as x.

Example
If you enter
     x = [{4., -2., 1.}, {9., 5., 7.}]
     colvar(x)
O-Matrix will respond
     [ 12.5 , 24.5 , 18 ]