Problem 40. Reverse Run-Length Encoder
74.79% Correct | 25.21% Incorrect
Last Solution submitted on May 28, 2023
Show 2 older comments
Carl Witthoft on 17 Nov 2015
See my function "seqle" on FileExchange. It may not be as compact, but it's easy to use and both encodes and decodes.
David Verrelli on 28 Sep 2017
The problem statement would have been clearer if the principle of RLE had been explained with an encoding example first. Alternatively, it would have been useful to explicitly mention that the data in vector x is being read pairwise.
Sanzhar Askaruly on 5 Jul 2019
subbarao satha on 2 Mar 2020
赛鼎 薛华 on 11 Jul 2022
Solution CommentsShow comments
Problem Recent Solvers2304
What is the distance from point P(x,y) to the line Ax + By + C = 0?
Fahrenheit to Celsius converter
Fix the last element of a cell array
More from this Author96
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!