Problem 341. count to vector
Solution Stats
Problem Comments
-
2 Comments
Alfonso Nieto-Castanon
on 19 Feb 2012
the text does not specify the expected order of the rows
David Young
on 8 Mar 2012
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
yurenchu
on 22 Jun 2017
Based on Paul Berglund's solution (Solution 321219).
-
1 Comment
Matthew Eicholtz
on 17 Jan 2015
Not a great solution, but the test suite needs to be improved.
-
1 Comment
Alfonso Nieto-Castanon
on 19 Feb 2012
try count_to_v([2,2])...
Problem Recent Solvers86
Suggested Problems
-
270 Solvers
-
107 Solvers
-
387 Solvers
-
Set some matrix elements to zero
377 Solvers
-
444 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!