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
Gergely Patay
on 5 Jan 2015
The test suite already spoils the solution.
David Verrelli
on 12 Mar 2018
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).
Dyuman Joshi
on 19 Sep 2021
Test suite doesn't work anymore.
Solution Comments
Show commentsProblem Recent Solvers331
Suggested Problems
-
350 Solvers
-
694 Solvers
-
309 Solvers
-
07 - Common functions and indexing 1
436 Solvers
-
353 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!