필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Subscripted assignment dimension mismatch. ()

조회 수: 1 (최근 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