FINDSEQ

Find sequences of repeated (adjacent/consecutive) numeric values. NaNs and Infs are supported.

Download
Download

You are now following this Submission

Cite As

Oleg Komarov (2026). FINDSEQ (https://nl.mathworks.com/matlabcentral/fileexchange/28113-findseq), 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.7.0

Fixed major bug in the sorting of Final position that relied on regularity conditions not always verified

Download
1.6.0

Per Herbert Gsenger's suggestion fixed bug in matching initial and final positions; minor change to distribution of OUT if multiple outputs; added 3D example

Download
1.4.0

Per Zachary Danziger's suggestion reorganized check structure to avoid bug when concatenating results

Download
1.3.0

Cast double on logical instead of single when treating NaNs and Infs

Download
1.2.0

Per Xiaohu's suggestion fixed bug in output dimensions when A is row vector

Download
1.1.0

Reorganized code and fixed bug when concatenating results

Download
1.0.0

Download