colMean(a)

Array statistics - determines the Mean value of each column in an array


Syntax

o_colmean(a)
a: array 2D numeric - input 2D array
return: array 2D - statistics of each column

Usage

When analyzing plentiful data, such as with a number of tests on many DUTs it can be desirable to examine the statistics of various parameters. A typical way to represent the data is in an array, with each row representing a test vector, each column a particular tested parameter. This function analyzes the Mean value of each column- hence each parameter.

Location

menu: veeos ==> Math ==> Arrays ===> colMean

library: mathLib

Example

            4 4 5 3
o_colMean([ 3 5 4 5 ]   returns  [3.33 5 4.66 5.33]
            3 6 5 8

Notes

Reference

Uses no loops so is fast.

Dependencies

Supported On

VEE 7.0+, all platforms

See Also

colMax, colMedian, colMin, colMode, colRMS, colSDev, colVari


© 2015-2025. All Rights Reserved. Stan Bischof (stan@worldbadminton.com). Last updated 03 February 2023 13:03.