Problem 347. Back to basics 15 - Benchmark

Solution 45854

Submitted on 19 Feb 2012 by @bmtran (Bryant Tran)
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
%% y=bench; z=benchmark; assert(abs(z(4)-y(4))<0.5)

y = Columns 1 through 3 0.437846000000000 0.624292000000000 0.252239000000000 Columns 4 through 6 0.359453000000000 0.481966000000000 0.611481000000000

Suggested Problems

More from this Author39

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!