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
|
1091 Solvers
556 Solvers
Is my wife right? Now with even more wrong husband
1241 Solvers
6369 Solvers
372 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!