find_index.m
No License
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 (2025). find_index.m (https://se.mathworks.com/matlabcentral/fileexchange/7272-find_index-m), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
find_index/
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
