class_vectors

Generates classification vectors to be used with any winner-takes-all classifiers.

You are now following this Submission

Function to generate classification vectors to be used with RBF, NN, or any other classifier where decisions need to be taken as per winner- takes-all.
V is matrix of classification vectors from given class vector Y.
V is of dimension length(Y)*number of classes.
Each column of V contain only one class information, patterns
corresponding to other class are made to zero.
Y must be of column vector containing integer values. Real numbers are not allowed.
Syntex: V = class_vectors(Y)
Example : if Y = [1 1 2 1 2]'; V = [1 1 0 1 0;0 0 1 0 1]'
Rajen B. Bhatt,
Department of Electrical Engineering, IIT Delhi.

Cite As

Dr.Rajen Bhatt (2026). class_vectors (https://www.mathworks.com/matlabcentral/fileexchange/28933-class_vectors), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0