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

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));

2 件のコメント

viki yadav
viki yadav 2017 年 6 月 21 日
Thank you very much, sir. it works.
KSSV
KSSV 2017 年 6 月 21 日
Thanks is accepting the answer...

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeSimulink についてさらに検索

タグ

タグが未入力です。

質問済み:

2017 年 6 月 20 日

編集済み:

2017 年 6 月 22 日

Community Treasure Hunt

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

Start Hunting!

Translated by