Hodgkin Huxley neuron model - Runge Kutta 2

Runge Kutta 2 implementation issue


Updated Tue, 26 Sep 2017 09:18:31 +0000

View License

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.


Cite As

Harry Tran (2023). 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 .

MATLAB Release Compatibility
Created with R2017a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired: Numerical Methods

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes