Zero-Crossing detector Matlab
1 view (last 30 days)
Show older comments
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.
0 Comments
Answers (0)
See Also
Categories
Find more on General Applications in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!