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 the longest sequence of 1's in a binary sequence.
6365 Solvers
-
Find state names that end with the letter A
1186 Solvers
-
Vectorize the digits of an Integer
325 Solvers
-
Circular Primes (based on Project Euler, problem 35)
570 Solvers
-
1488 Solvers
More from this Author96
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!