Assignment has more non-singleton rhs dimensions than non-singleton subscripts

조회 수: 4 (최근 30일)
ode
  댓글 수: 2
Walter Roberson
Walter Roberson 2017년 6월 20일
Please post the complete error message, everything in red
Jan
Jan 2017년 6월 20일
편집: Jan 2017년 6월 20일
Please use terms as tags, which allows to classify your question. "Walter Roberson" might read or answer your message also, if his name is not used as tag. Thanks.
If you post the complete error message, the readers do not have to guess, where the error occurres.

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

채택된 답변

KSSV
KSSV 2017년 6월 20일
Replace line
xx(:,i+2)=2*xx(:,i+1)-xx(:,i)-del*D*(xx(:,i+1)-xx(:,i))+del^2*(fx(xx(:,i))+B*u(i));
With
xx(:,i+2)=2*xx(:,i+1)-xx(:,i)-del*D*(xx(:,i+1)-xx(:,i))+del^2*(fx(xx(:,i))'+B*u(i));

추가 답변 (0개)

카테고리

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

태그

아직 태그를 입력하지 않았습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by