Zero-Crossing detector Matlab
Afficher commentaires plus anciens
is it possible to implement something similar to the 'Hit Crossing' block of Simulink in Matlab? In this sense, it will be possible to help the solver (ode45) to locate certain discontinuity without resorting to excessively small time steps (https://www.mathworks.com/help/simulink/ug/zero-crossing-detection.html).
I have implemented the ODE event location (https://www.mathworks.com/help/matlab/math/ode-event-location.html) but my simulation stills taking a lot of steps to finish the integration process, it seems that these events do not help the solver to find the presented discontinuities.
Réponses (0)
Catégories
En savoir plus sur Ordinary Differential Equations dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!