Cody

Solution 2269928

Submitted on 11 May 2020
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Fail
x = [1:10]; y = x; z = true; assert(isequal(are_equal(x,y),z));

Undefined function 'isqual' for input arguments of type 'double'. Error in are_equal (line 2) isqual(x,y) Error in Test1 (line 4) assert(isequal(are_equal(x,y),z));

2   Fail
x = [1:10 NaN]; y = x; z = true; assert(isequal(are_equal(x,y),z));

Undefined function 'isqual' for input arguments of type 'double'. Error in are_equal (line 2) isqual(x,y) Error in Test2 (line 4) assert(isequal(are_equal(x,y),z));

3   Fail
x = [2 4 6 NaN 8]; y = [2 4 NaN 6 8]; z = false; assert(isequal(are_equal(x,y),z));

Undefined function 'isqual' for input arguments of type 'double'. Error in are_equal (line 2) isqual(x,y) Error in Test3 (line 4) assert(isequal(are_equal(x,y),z));

Suggested Problems

More from this Author39