Hodgkin-Huxley Error Code: Index exceeds the number of array elements (1)

2 visualizzazioni (ultimi 30 giorni)
Can someone please help me figure out my my code will not work. I am not understanding how to fix the error.

Risposte (1)

Star Strider
Star Strider il 19 Gen 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.

Categorie

Scopri di più su Neural Simulation in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by