crossdet

Detect crossing a threshold into a signal
245 Downloads
Updated 21 Jul 2014

View License

crossdet returns cross values and its location that occurred in a input signal. It can detect next first points crossing the threshold or zero. Signal data requires a row or column vector with real-valued elements. If there are no local crossing returns empty.

Cite As

Marco Borges (2024). crossdet (https://www.mathworks.com/matlabcentral/fileexchange/47266-crossdet), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.1.0.0

bugfix handle only one cross and return number of crossings

1.0.0.0