Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
x = [1:10];
y = x;
z = true;
assert(isequal(are_equal(x,y),z));
z =
1
ans =
[]
|
2 | Pass |
%%
x = [1:10 NaN];
y = x;
z = true;
assert(isequal(are_equal(x,y),z));
z =
1
ans =
[]
|
3 | Pass |
%%
x = [2 4 6 NaN 8];
y = [2 4 NaN 6 8];
z = false;
assert(isequal(are_equal(x,y),z));
z =
0
ans =
[]
|
1163 Solvers
556 Solvers
381 Solvers
Get the length of a given vector
3570 Solvers
1142 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!