Hodgkin-Huxley Error Code: Index exceeds the number of array elements (1)
2 views (last 30 days)
Show older comments
Can someone please help me figure out my my code will not work. I am not understanding how to fix the error.
0 Comments
Answers (1)
Star Strider
on 19 Jan 2021
Your differential equation returns a column vector of 4 elements, so it is necessary for the initial conditions vector and whatever ‘y’ is in the other screen capture to have 4 elements as well.
0 Comments
See Also
Categories
Find more on Neural Simulation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!