Problem 341. count to vector
Solution Stats
Problem Comments
-
2 Comments
the text does not specify the expected order of the rows
It would be helpful if the text gave an example. Also, the test suite should be much richer - only two special cases does not really encourage people to write general solutions.
Solution Comments
-
1 Comment
Based on Paul Berglund's solution (Solution 321219).
-
1 Comment
Not a great solution, but the test suite needs to be improved.
-
1 Comment
try count_to_v([2,2])...
Problem Recent Solvers80
Suggested Problems
-
Project Euler: Problem 8, Find largest product in a large string of numbers
727 Solvers
-
First non-zero element in each column
738 Solvers
-
105 Solvers
-
Matrix which contains the values of an other matrix A at the given locations.
219 Solvers
-
The Answer to Life, the Universe, and Everything
438 Solvers
More from this Author1
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!