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!