Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = [1 2;1 2];
n=1
y_correct =[1 2 1 2;1 2 1 2;1 2 1 2;1 2 1 2]
;
assert(isequal(your_fcn_name(x),y_correct))
n =
1
y_correct =
1 2 1 2
1 2 1 2
1 2 1 2
1 2 1 2
y =
1 2 1 2
1 2 1 2
1 2 1 2
1 2 1 2
|
Given an unsigned integer x, find the largest y by rearranging the bits in x
780 Solvers
Are all the three given point in the same line?
270 Solvers
Determine if input is a perfect number
145 Solvers
358 Solvers
289 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!