Is there a problem with the test suite ? It gives error for statement "colorNum = randi(length(colors)); " as "??? Undefined function or method 'randi' for input arguments of type 'double'.", which version of matlab is having this function "randi" supported?
3288 Solvers
1253 Solvers
Back to basics 11 - Max Integer
685 Solvers
Back to basics 21 - Matrix replicating
1070 Solvers
347 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!