Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
a=[1 2 5];
b=[6 4 3];
y_correct = [1 2 3 4 5 6];
assert(isequal(array_xor(a,b),y_correct))
y =
1 2 3 4 5 6
|
2 | Pass |
%%
a=[1 2 5 4];
b=[8 6 9 2];
y_correct = [1 4 5 6 8 9];
assert(isequal(array_xor(a,b),y_correct))
y =
1 4 5 6 8 9
|
Find the sum of all the numbers of the input vector
31971 Solvers
2501 Solvers
convert matrix to single column
308 Solvers
Matlab Basics II - Create a vector with a repeated entry
182 Solvers
273 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!