필터 지우기
필터 지우기

Subscripted assignment dimension mismatch.

조회 수: 2 (최근 30일)
Sarah
Sarah 2018년 10월 28일
댓글: madhan ravi 2018년 10월 28일
Dear all, I don't know why I am getting the error on this img16 array gathering loop. kindly advise on how I can fix this
for i=1:height img16(i,:) = buff(index:index+width+1); index = index+width; end

채택된 답변

madhan ravi
madhan ravi 2018년 10월 28일
img16(i) = buff(index:index+width+1);
  댓글 수: 1
madhan ravi
madhan ravi 2018년 10월 28일
if it doesn't work still provide the values for width , height ,index and buff

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Matrix Indexing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by