Jul-21-2020, 06:40 AM
The "parameters" variable is expected to have len = 4 (i.e. the first element is always y0);
So, you need to change the line of code where the "parameters" variable is defined:
So, you need to change the line of code where the "parameters" variable is defined:
parameters = [y0] + params[1 + 3 * i:1 + 3 * i + 3]