This solution is outdated. To rescore this solution, sign in.
-
2 Comments
tabulate code is not working. I got the correct results but I am getting error --"Undefined function 'tabulate' for input arguments of type 'double"
Tabulate could probably be made to work here, but I recall that Cody does not allow toolbox functions, and tabulate lives in the stats toolbox. I'd guess the logic is that not everyone has all toolboxes, so a solution that uses some tool that others cannot use would not be fair to those others.
Suggested Problems
-
Find best placement for ordered dominoes (harder)
313 Solvers
-
Getting the indices from a matrix
656 Solvers
-
The sum of the numbers in the vector
612 Solvers
-
1481 Solvers
-
7505 Solvers
More from this Author96
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!