Doubt in MATLAB program

1 次查看(过去 30 天)
Joy Salomi
Joy Salomi 2019-11-8
评论: darova 2019-11-8
Can anyone help to fix this error?matlab error.jpg

采纳的回答

darova
darova 2019-11-8
Here is the problem
123.png
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 个评论
Joy Salomi
Joy Salomi 2019-11-8
Thank you very much Sir.
I have tried the following. Still I got errors.
matlab error 1.jpg
These are the diff.eqns and boundary conditions:
question.jpg
Can you please help me with this program sir?
darova
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 Untitled.png

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Logical 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by