Cody

Solution 234273

Submitted on 23 Apr 2013 by hari laxman
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   Pass
%% x = [1:10]; y = x; z = true; assert(isequal(are_equal(x,y),z));
ans = 1
2   Pass
%% x = [1:10 NaN]; y = x; z = true; assert(isequal(are_equal(x,y),z));
ans = 1
3   Pass
%% x = [2 4 6 NaN 8]; y = [2 4 NaN 6 8]; z = false; assert(isequal(are_equal(x,y),z));
ans = 0