Assignment has more non-singleton rhs dimensions than non-singleton subscripts
1 次查看(过去 30 天)
显示 更早的评论
ode
2 个评论
采纳的回答
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 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!