Mostrar comentarios más antiguos
我采用ODE45来模拟一个带负反馈的ODE系统: x' = f(x,u)。
其中u是负反馈模块。
我发现ODE45采用的步长跟u的实现有很大关系,我目前使用了两种负反馈的实现,分别为A,B,他们对ODE45步长影响的情况如下:
1 A:ODE45选择的步长是0.01
2 B: ODE45选择的步长是0.0001
我想问的是,什么情况会导致ODE45选择一个非常小的步长,比如我遇到的这种情况?
Respuestas (0)
Categorías
Más información sobre 常微分方程 en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!