Hodgkin Huxley neuron model - Runge Kutta 2

Runge Kutta 2 implementation issue
157 Downloads
Updated 26 Sep 2017

View License

Hello,
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.

Thanks.

Cite As

Harry Tran (2024). 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
Categories
Find more on Neural Simulation in Help Center and MATLAB Answers
Acknowledgements

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
1.0.0.0