hhrun - Hodgkin Huxley model simulation for user defined input current

版本 1.1.0.0 (2.9 KB) 作者: Rohit Chandra
Simulates the Hodgkin Huxley model for user defined values of input current and variables
5.6K 次下载
更新时间 2014/5/28

查看许可证

This function simulates the Hodgkin-Huxley model for user specified input
current.

hhrun(I,tspan,V,m,h,n,Plot) function simulates the Hodgkin-Huxley model
for the squid giant axon for user specified values of the current input,
timespan, initial values of the variables and the solution method. As output it plots voltage (membrane potential) time series and also the plots between three variables V vs. m,n and h. It uses the forward euler method for solving the ODEs. Enter 1 in the plot field if you
want time series and V vs gating variable plots, 0 otherwise.

Usage:
Example 1 -

hhrun(10, 500, -65, 0.5, 0.06, 0.5,1)
where,
Input current is 10 mA
Timespan is 500 ms
-65 0.5 0.06 0.5 are the initial values of V,m,h and n respectively
Will display the voltage time series and limit cycle plots
Example 2 -
[V,m,h,n,t] = hhrun(8, 200, -65, 0.4, 0.2, 0.5,0);
V,m,h,n and t vectors will hold the respective values
There will be no plots since plot field is 0
plot(t,V) will generate the time series plot

引用格式

Rohit Chandra (2024). hhrun - Hodgkin Huxley model simulation for user defined input current (https://www.mathworks.com/matlabcentral/fileexchange/46740-hhrun-hodgkin-huxley-model-simulation-for-user-defined-input-current), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2012a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Neural Simulation 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.1.0.0

Made changes to the title

1.0.0.0