Subscripted assignment dimension mismatch. error is coming how can I remove error?

조회 수: 1 (최근 30일)
RS
RS 2013년 9월 28일
답변: Walter Roberson 2013년 9월 29일
Z=[];n=1;
for i=1:4:3500
Z(n:n+799,1)=AC(:,i+2);
Z(n:n+799,2)=AC(:,i+3);
Z(n:n+799,3)=AC(:,i);
n=n+800;
end
Subscripted assignment dimension mismatch.
  댓글 수: 4
Jan
Jan 2013년 9월 28일
Please post a complete copy of the error message. It would tell us, which line causes the troubles, such that we do not have to guess, where the problem is and can concentrate on solving the problem.

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

답변 (1개)

Walter Roberson
Walter Roberson 2013년 9월 29일
Your array AC does not have exactly 800 rows.

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by