how to do for loop in confusionmat function

Hello,
i devolped a system to to distingish between data based on specific features and different classifiers. the issue i faced that in using (confusionmat) function i can see the result of each classifier one by one (c= confusionmat(label_test,Class1)). with huge numbers of classifiers the process is imposible. there for i tryied to use a for loop in (confusionmat) function but since the name of my classifiers are (Class1,Class2, ... ) i couldn't do it .
If any one can help it will be appreciated..

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Loops and Conditional Statements 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by