Error using * Inner matrix dimensions must agree.

8 ビュー (過去 30 日間)
Muhammad Said
Muhammad Said 2020 年 7 月 25 日
コメント済み: KSSV 2020 年 7 月 25 日
Hello
I was trying to plot using the RK-4 method but i get this error. Can someone help me please? Thank You
Error in HolaGB (line 87)
g6_2 = xi*(H(i)+H2*g5_1)+gamma*(Ig(i)+H2*g2_1)-mu*(R(i)+H2*g6_1);
  1 件のコメント
KSSV
KSSV 2020 年 7 月 25 日
This error occurs when you multiply matrices of dimensions which do not obey rule of multiplcation. We can help more on shwoing complete code.

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

回答 (0 件)

カテゴリ

Help Center および File ExchangePole and Zero Locations についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by