Home > brede > brede_mat_wta.m

brede_mat_wta

PURPOSE ^

brede_mat_wta - Winner takes all

SYNOPSIS ^

function Mout = brede_mat_wta(Min, varargin)

DESCRIPTION ^

 brede_mat_wta        - Winner takes all

       Mout = brede_mat_wta(Min, 'PropertyName', 'PropertyValue') 

       Input:    Min       'Mat' structure or matrix

       Property: Dimension [ {column} | row ]

       Output:   Mout      'Mat' structure

       Winner takes all. The 'dimension' property determines in which
       dimension the winner should be found: For 'column' the maximum
       value over columns is found for each row. Those element that
       are not the maximum are zeroed. 

       If all elements in a row is zero, no element is declared a
       "winner".

       See also BREDE, BREDE_MAT, BREDE_MAT_2MAT2HTML, BREDE_MAT_ICA,
                BREDE_MAT_NMF, BREDE_MAT_SVD.

 $Id: brede_mat_wta.m,v 1.7 2006/01/31 17:17:44 fnielsen Exp $

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 27-Nov-2009 18:11:22 by m2html © 2005