runlength.m

[l,s] = runlength(x,R) parses the vector x into "runs" of constant value.

Download
Download

You are now following this Submission

Cite As

Owen Kelly (2026). runlength.m (https://www.mathworks.com/matlabcentral/fileexchange/241-runlength-m), MATLAB Central File Exchange. Retrieved .

Tags

Add Tags

Add the first tag.

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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

Download