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.
Based on Paul Berglund's solution (Solution 321219).
Not a great solution, but the test suite needs to be improved.
try count_to_v([2,2])...
Similar Triangles - find the height of the tree
203 Solvers
"Low : High - Low : High - Turn around " -- Create a subindices vector
320 Solvers
219 Solvers
Try 1.5.4: Celsius to Fahrenheit
609 Solvers
Simple equation: Annual salary
3780 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!