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..

Antworten (0)

Gefragt:

am 20 Okt. 2020

Community Treasure Hunt

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

Start Hunting!

Translated by