Problem 40. Reverse Run-Length Encoder
Solution Stats
Problem Comments
-
4 Comments
Show
1 older comment
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
easy
subbarao satha
on 2 Mar 2020
useful challenge
Solution Comments
-
1 Comment
Tommy
on 27 Mar 2020
ugly but more fun than loops!
-
1 Comment
Alfonso Nieto-Castanon
on 9 May 2015
note: repelem did not exist back when this problem was created
-
1 Comment
Diego
on 30 Dec 2014
not limited to 1-9
-
2 Comments
-
2 Comments
Problem Recent Solvers1980
Suggested Problems
-
Return a list sorted by number of occurrences
1888 Solvers
-
2337 Solvers
-
Back to basics 12 - Input Arguments
547 Solvers
-
637 Solvers
-
1077 Solvers
More from this Author95
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!