I try to implement Runge Kutta 2 to solve Hodgking Huxley equations (model of 1 neurone) but I meet some issues. I tried to go step by step to fix them but my parameters n, m, h still become 'Not A Number - NaN" after a nomber of iterations.. I can't figure out where the problem is...
If someone could help me, I would be grateful.
Harry Tran (2021). Hodgkin Huxley neuron model - Runge Kutta 2 (https://www.mathworks.com/matlabcentral/fileexchange/64542-hodgkin-huxley-neuron-model-runge-kutta-2), MATLAB Central File Exchange. Retrieved .
Inspired: Numerical Methods
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!