Info

此问题已关闭。 请重新打开它进行编辑或回答。

Subscripted assignment dimension mismatch. ()

2 次查看(过去 30 天)
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 个评论
KnowledgeSeeker
KnowledgeSeeker 2014-6-2
Thank you Star Strider, It has been solved,
prob = zeros(numInstance, Numclasses);
Star Strider
Star Strider 2014-6-2
My pleasure!
I obviously should have posted that as an Answer!?

回答(0 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by