Subscripted assignment dimension mismatch. ()
Información
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
Mostrar comentarios más antiguos
I am trying to get the probability of each class.and I defined the
prob = zeros(size(classes,2)); number of classes is 10;
prob(:,k) = p(:,model{k}.Label==1); the error occur here. K is from 1 to 10
Hope someone can help
3 comentarios
Star Strider
el 2 de Jun. de 2014
Please post the entire loop and the statements before it defining any variables and constants it uses. Specifically, what is the structure array ‘model’?
KnowledgeSeeker
el 2 de Jun. de 2014
Star Strider
el 2 de Jun. de 2014
My pleasure!
I obviously should have posted that as an Answer!?
Respuestas (0)
La pregunta está cerrada.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!