mode

PURPOSE ^

Returns the mode of a vector.

SYNOPSIS ^

function y=mode(x)

DESCRIPTION ^

 Returns the mode of a vector.
 
 INPUTS
   x   - vector of integers

 OUTPUTS   
   y   - mode

 EXAMPLE
   x = randint2( 1, 10, [1 3] )
   mode( x )

 DATESTAMP
   29-Sep-2005  2:00pm

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Wed 03-May-2006 23:48:50 by m2html © 2003