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 =
[]
|
284 Solvers
Remove the two elements next to NaN value
411 Solvers
Duplicate each element of a vector.
518 Solvers
Replace multiples of 5 with NaN
358 Solvers
227 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!