Cody

Solution 1009282

Submitted on 11 Oct 2016 by Joung-Wook Shin
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

This solution is outdated. To rescore this solution, sign in.

Test Suite

Test Status Code Input and Output
1   Pass
x=(1:10)' y=roundn(2*x+7*rand(size(x)),-1) a=x\y assert(isequal(your_fcn_name(x,y),a))

x = 1 2 3 4 5 6 7 8 9 10 y = 6.3000 4.6000 8.1000 10.8000 14.1000 14.6000 18.2000 20.0000 24.6000 25.0000 a = 2.5971 a = 2.5971

Suggested Problems

More from this Author27