Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
x = [1:10];
y_correct = 0;
assert(isequal(column_vector(x),y_correct))
ans =
0
|
2 | Pass |
%%
x = [1:10]';
y_correct = 1;
assert(isequal(column_vector(x),y_correct))
ans =
1
|
3 | Pass |
%%
x = 1;
y_correct = 1;
assert(isequal(column_vector(x),y_correct))
ans =
1
|
Given an unsigned integer x, find the largest y by rearranging the bits in x
780 Solvers
The Hitchhiker's Guide to MATLAB
2874 Solvers
2143 Solvers
Solving Quadratic Equations (Version 1)
427 Solvers
292 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!