colMode(a)

Array statistics - determines the Mode of each column in an array


Syntax

colMode(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 Mode (most common value) of each column- hence each parameter.

Location

menu: veeos ==> Math ==> Arrays ===> colMode

library: mathLib

Example

          4 4 5 3
colMode([ 3 5 4 5 ]   returns  [3 4 5 3]
          3 6 5 8

Notes

Reference

Dependencies

Supported On

VEE 7.0+, all platforms

See Also

colMax, colMean, colMedian, colMin, colRMS, colSDev, colVari


© 2015. All Rights Reserved.  Stan Bischof (stan@worldbadminton.com). Last updated 28 October 2015 11:17. © 2015.