Tools for Processing Consecutive Repetitions in Vectors

A set of functions for labeling and manipulating groups of consecutively repeating elements in a vector.

Download
Download

You are now following this Submission

Cite As

Matt J (2026). Tools for Processing Consecutive Repetitions in Vectors (https://www.mathworks.com/matlabcentral/fileexchange/78008-tools-for-processing-consecutive-repetitions-in-vectors), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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

Small bug fix in groupConsec.m
Only affected case when the input sequence started with 0.

Download
3.0.8

Updates Examples.mlx to include an illustration of groupLims().

Download
3.0.7

More documentation fixes

Download
3.0.6

Some documentation corrections.

Download
3.0.5

Upgraded groupReductFcn and groupReductHybrid with the capability of taking matrix-valued input.

Download
3.0.4

Added some new functions: groupLims, groupReductFcn, and groupReductHybrid.

Download
3.0.3

Fixed small bug in groupFcn. Error message was triggered in the case of multi-input functions.

Download
3.0.2

Edit

Download
3.0.1

Edit

Download
2.0.6

Renamed group1s to groupTrue

Download
2.0.5

Edits

Download
2.0.4

Edits

Download
2.0.3

Edited text and examples.

Download
2.0.2

Small text edits

Download
2.0.1

Small text edits

Download
2.0.0

Added groupConsec and groupFcn

Download
1.0.0

Download