Cody

Solution 1007617

Submitted on 10 Oct 2016 by Matthew Eicholtz
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 = 0.5555; n = 3 y_correct = round(x*10^(n-1))/(10^(n-1)); assert(isequal(your_fcn_name(x,n),y_correct))

n = 3