Home > lib > classes2boolean.m

classes2boolean

PURPOSE ^

output = classes2boolean(classes, no_different)

SYNOPSIS ^

function output = classes2boolean(classes, no_different)

DESCRIPTION ^

 output = classes2boolean(classes, no_different)

 classes: Zero-based class vector. It may be a column or row vector, doesn't matter. 

 output: matrix described below.

 Converts classes into a boolean matrix where each column correspond to
 one class. It will contain a one in column j if the i-th row belongs to
 the j-th class or zero otherwhise.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Thu 18-Feb-2010 12:47:47 by m2html © 2003