Clear Filters
Clear Filters

Why does NO ODE function work??

2 views (last 30 days)
Adrian Salt
Adrian Salt on 13 Dec 2020
Commented: Stephen23 on 13 Dec 2020
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 Comment
Stephen23
Stephen23 on 13 Dec 2020
"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:

Sign in to comment.

Answers (1)

James Tursa
James Tursa on 13 Dec 2020
Did you download the code for ode1 from the link provided?

Tags

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!