![]() The current (below) version's error code is as following: Error using ODEequation (line 89)į0 = feval(ode,t0,y0,args to yp0. ![]() It would be very appreciated if you could point out any glaring errors I have made in the initialization. The instructions are very clear that the function used in the main script does not take in any time variables. The function that feeds into the ode45 has a time input as well, but again I cannot figure out how I can input a time range. I have a limited grasp of ODEs in general, and seem to have trouble understanding the syntax required to initialize the ODE45-call.Īlso, I am indicated to use a time range for a variable 'pulse', but there is no input for a time range (which seems to be a variable, not fixed) in the function that takes in input from the main script and sends that with the other function to the ode45 function. I understand that I have to call the ode45 through a function, and call that function from my main script. I am having trouble initializing the ode45 call, and documentation hasn't been able to help me. I'm trying to simulate the Morris-Lecar model for neurons with ode45.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |