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
-
Find the sum of all the numbers of the input vector
38212 Solvers
-
239 Solvers
-
174 Solvers
-
517 Solvers
-
291 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!