Doubt in MATLAB program
1 回表示 (過去 30 日間)
古いコメントを表示
Can anyone help to fix this error?
0 件のコメント
採用された回答
darova
2019 年 11 月 8 日
Here is the problem
Also you have y(1),y(2),y(3). It means that you have 3 initial condition values, also you should have 3 diff. equations
2 件のコメント
darova
2019 年 11 月 8 日
Can you please show how you declare derivatives in form:
ff = y(1);
df = y(2);
% ...
phi = (6);
dphi = y(7);
Write your equations according to this:
f(1,1) = df;
f(2,1) = ddf;
f(3,1) = df + 1.333*df^2 - ff*ddf;
% ...
You have y(8) (8 values) but still have only 4 initial values
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Logical についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!