How to link a parameters table (loaded in global vector) to an ODE resolutor
    1 次查看(过去 30 天)
  
       显示 更早的评论
    
I need to change the value of a parameter used in an Odefun (in a resolver Ode45 type or similar) throughout the simulation time. The simulation time is 10 seconds with steps of 1 millisecond, that is, 10,000 different values are specified for the parameter and they are loaded in a vector of the global type. Since the evaluation of the Odefun occurs several times in each step, I cannot link the index of the parameter vector with the simulation time to extract the corresponding value. Is there any way to achieve it?
0 个评论
回答(0 个)
另请参阅
类别
				在 Help Center 和 File Exchange 中查找有关 General Applications 的更多信息
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
