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

1 次查看(过去 30 天)
ode
  2 个评论
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