I keep getting this maximum recursion limit error.
Maximum recursion limit of 500 reached. Use set(0,'RecursionLimit',N) to change the limit. Be aware
that exceeding your available stack space can crash MATLAB and/or your computer.
Error in ode45
I have attached my code too. Please can you help me to fix it.