Why does NO ODE function work??

9 次查看(过去 30 天)
Adrian Salt
Adrian Salt 2020-12-13
评论: Stephen23 2020-12-13
Hi,
I am about to mad - spent the entire evening trying to get matlab to solve ANY ode with the 'ode1' function.
It just says Unrecognized function or variable 'ode1'.
This is making me sick as I followed the so called 'cheif mathematician' from maths works on his tutorial on ODE1 - Euler's method - it DOES NOT WORK.
In fact, no ODE works....I am inputting the function as follows:
{F = @(x,y) x^2-3*y^2
x0 = 0;
h=1;
xend = 5;
y0 = 0;
ode1(F,x0,h,xend,y0)}
  1 个评论
Stephen23
Stephen23 2020-12-13
"This is making me sick as I followed the so called 'cheif mathematician' from maths works on his tutorial on ODE1 - Euler's method - it DOES NOT WORK."
The first tutorial in the series is located here:
Directly under the video is a link to where all of the files can be downloaded:

请先登录,再进行评论。

回答(1 个)

James Tursa
James Tursa 2020-12-13
Did you download the code for ode1 from the link provided?

类别

Help CenterFile Exchange 中查找有关 Ordinary Differential Equations 的更多信息

标签

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by