フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Subscripted assignment dimension mismatch. ()

2 ビュー (過去 30 日間)
KnowledgeSeeker
KnowledgeSeeker 2014 年 6 月 2 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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