FINDSEQ
Find sequences of repeated (adjacent/consecutive) numeric values. NaNs and Infs are supported.
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Cite As
Oleg Komarov (2026). FINDSEQ (https://nl.mathworks.com/matlabcentral/fileexchange/28113-findseq), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: rude: a pedestrian run-length decoder-encoder, GETCHUNKS
General Information
- Version 1.7.0 (17.7 KB)
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 |
||
| 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 |
||
| 1.4.0 | Per Zachary Danziger's suggestion reorganized check structure to avoid bug when concatenating results |
||
| 1.3.0 | Cast double on logical instead of single when treating NaNs and Infs |
||
| 1.2.0 | Per Xiaohu's suggestion fixed bug in output dimensions when A is row vector |
||
| 1.1.0 | Reorganized code and fixed bug when concatenating results |
||
| 1.0.0 |