Problem 347. Back to basics 15 - Benchmark
Covering some basic topics I haven't seen elsewhere on Cody.
Return an array of the benchmark values for MATLAB.
Solution Stats
Problem Comments
-
3 Comments
The test suite already spoils the solution.
True. In general that should be avoided, although admittedly it's difficult here because if the correct answer were hard-coded, then changes to: (i) the hardware on which Cody runs; or (ii) the version of MATLAB that Cody employs may eventually invalidate it. Having said that, the Test Suite could still be tightened up (see e.g. Solution 1461085).
Test suite doesn't work anymore.
Solution Comments
Show commentsProblem Recent Solvers335
Suggested Problems
-
2199 Solvers
-
Set the array elements whose value is 13 to 0
1376 Solvers
-
623 Solvers
-
ベクトル [1 2 3 4 5 6 7 8 9 10] の作成
564 Solvers
-
917 Solvers
More from this Author39
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!