Cody

Solution 1433481

Submitted on 4 Feb 2018 by Mehmet OZC
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; y_correct = true; assert(isequal(is_odd(x),y_correct)) x=[ 3 7 8] y_correct =[true true false]; assert( isequal(is_odd(x),y_correct) );

ans = logical 1 x = 3 7 8 ans = 1×3 logical array 1 1 0