Numeric dummy variables can be used to represent categories as 0/1 flags. Note that you will need one dummy variable less than the total number of categories:
0 male
1 female
or...
0 1 red
1 0 green
0 0 blue
-Will Dwinnell
Data Mining in MATLAB
http://matlabdatamining.blogspot.com/