This solution is outdated. To rescore this solution, sign in.
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
|
Given an unsigned integer x, find the largest y by rearranging the bits in x
524 Solvers
104 Solvers
Remove element(s) from cell array
107 Solvers
145 Solvers
Calculate square and cube of number
168 Solvers