Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
x = [1:10];
y_correct = 0;
assert(isequal(column_vector(x),y_correct))
ans =
0
z =
10 1
|
2 | Pass |
%%
x = [1:10]';
y_correct = 1;
assert(isequal(column_vector(x),y_correct))
ans =
0
z =
1 10
ans =
1
|
3 | Pass |
%%
x = 1;
y_correct = 1;
assert(isequal(column_vector(x),y_correct))
ans =
0
z =
1 1
ans =
1
|
232 Solvers
Back to basics 17 - white space
245 Solvers
219 Solvers
254 Solvers
251 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!