Hi Matlab Expert,
I am doing the classification analysis using matlab, in the final result i want to convert the numeric to category, actually this is very simple but I am still no finding how to code this.
For example, let I have dataset named as data.mat contains only 1 column with range 1-4:
%
1111222333444
I want to add additional column with category: if 1=good, 2=meddium , 3=bad 4=very bad, so the result should be like this:
%1 good1 good1 good1 good1 good2 medium2 medium2 medium3 bad3 bad3 bad4 very bad4 very bad4 very bad
Please help me how to code this in matlab? thanks!
Best Answer