getOnOffIds(IsData)

Computes the start/end ids of 'true'-events in a logical vector.

Download
Download

You are now following this Submission

Cite As

David J. Mack (2026). getOnOffIds(IsData) (https://in.mathworks.com/matlabcentral/fileexchange/58983-getonoffids-isdata), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1.0

[MOD] Simplified the start/end condition checks.
[MOD] Removed the checks for all-false/-true arrays and made them implicit. This sacrifices some speed in these special cases but makes the function faster in any other case.

Download
1.0.0

Added links

Download