Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 49;
y_correct = 7;
assert(isequal(square_root(x),y_correct))
ans =
7
|
2 | Pass |
x = 81;
y_correct = 9;
assert(isequal(square_root(x),y_correct))
ans =
9
|
How to find the position of an element in a vector without using the find function
2477 Solvers
Given an unsigned integer x, find the largest y by rearranging the bits in x
781 Solvers
284 Solvers
284 Solvers
412 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!