Problem 40. Reverse Run-Length Encoder
Solution Stats
Problem Comments
-
4 Comments
Show
1 older comment
卡尔Witthofton 17 Nov 2015
看到我的函数“seqle”文件Exchange. It may not be as compact, but it's easy to use and both encodes and decodes.
David Verrelli2017年9月28日
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 Askarulyon 5 Jul 2019
easy
subbarao sathaon 2 Mar 2020
useful challenge
Solution Comments
-
1 Comment
Tommyon 27 Mar 2020
ugly but more fun than loops!
-
1 Comment
Alfonso Nieto-Castanonon 9 May 2015
note: repelem did not exist back when this problem was created
-
1 Comment
Diegoon 30 Dec 2014
not limited to 1-9
-
2 Comments
-
2 Comments
Problem Recent Solvers1974
Suggested Problems
1441 Solvers
Who is the smartest MATLAB programmer?
661 Solvers
291 Solvers
435 Solvers
724 Solvers
从this Author95
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!