find_index.m

Find all index in a data array at the limit

You are now following this Submission

function edge = find_index(data, limit)
% ------------------------------
% Author: Christian Schultes
% User: schultcadm
% Date: 21-Mar-2005
% ------------------------------
%
% function edge = find_index(data, limit)
%
%
% data ........... array with one or two columns
% case 1 .. array with one columns (only data)
% case 2 .. array with two columns (time + data)
%
% limit ........... scalar negative or positive or zero
%
% edge ............ array with two columns
% first column is the index for true (rising)
% second column is the index for is not true (falling)
%

Cite As

Christian Schultes (2026). find_index.m (https://www.mathworks.com/matlabcentral/fileexchange/7272-find_index-m), 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.0.0.0