Last active
March 12, 2021 19:04
-
-
Save micaleel/5eb3729e73290a82d85ac689f61997cd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% solvers for DEs in ode.m | |
% TODO Insert relevant values into `range` and `initial_conditions` | |
% NOTE initial_conditions is a vector (ordered collection) of input values that will | |
% unpacked in ode.m file into the X, L, S, N, and H variables respectively. | |
range = [1:50] | |
initial_conditions = [600, 3, 0, 3, 3] | |
# Use ode45 solver | |
[time_solution, var_solution] = ode45(@ode_sys, range, initial_conditions) | |
% Plot solutions, if necessary |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment