Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = [1:10];
y = x;
z = true;
assert(isequal(are_equal(x,y),z));
x =
1 2 3 4 5 6 7 8 9 10
y =
1 2 3 4 5 6 7 8 9 10
z =
logical
1
|
2 | Pass |
x = [1:10 NaN];
y = x;
z = true;
assert(isequal(are_equal(x,y),z));
x =
1 2 3 4 5 6 7 8 9 10 9999999
y =
1 2 3 4 5 6 7 8 9 10 9999999
z =
logical
1
|
3 | Pass |
x = [2 4 6 NaN 8];
y = [2 4 NaN 6 8];
z = false;
assert(isequal(are_equal(x,y),z));
x =
2 4 6 9999999 8
y =
2 4 9999999 6 8
|
Make the vector [1 2 3 4 5 6 7 8 9 10]
35579 Solvers
Back to basics 6 - Column Vector
908 Solvers
164 Solvers
Solve the set of simultaneous linear equations
274 Solvers
Detect a number and replace with two NaN's
178 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!