Euler method returning error

8 views (last 30 days)
Austin Smith
Austin Smith on 4 Dec 2020
Commented: Austin Smith on 5 Dec 2020
I am trying to use the euler and then midpoint method to solve for a value. I call on a different mfile that I have named "dydtsys.m" where I gather the equations needed for this project. Any and all help would be appreciated. I have tried to rename the 'unrecognized function or variable' as euler, eulsys, eulersys.

Answers (1)

Rafael Hernandez-Walls
Rafael Hernandez-Walls on 5 Dec 2020
maybe you need copy the function eulsys.m in your system. In this link you have a copy:
  1 Comment
Austin Smith
Austin Smith on 5 Dec 2020
So should I establish a separate mfile with one of those and then call on it by replacing the eulsys with @eulfun or just change it to eulfun

Sign in to comment.

Categories

Find more on Programming in Help Center and File Exchange

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!