Azzera filtri
Azzera filtri

Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

Subscripted assignment dimension mismatch. ()

1 visualizzazione (ultimi 30 giorni)
KnowledgeSeeker
KnowledgeSeeker il 2 Giu 2014
Chiuso: MATLAB Answer Bot il 20 Ago 2021
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 Commenti
KnowledgeSeeker
KnowledgeSeeker il 2 Giu 2014
Thank you Star Strider, It has been solved,
prob = zeros(numInstance, Numclasses);
Star Strider
Star Strider il 2 Giu 2014
My pleasure!
I obviously should have posted that as an Answer!?

Risposte (0)

Questa domanda è chiusa.

Community Treasure Hunt

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

Start Hunting!

Translated by