Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
x = 5;
y_correct = 'true';
assert(isequal(prime(x),y_correct))
x = 4;
y_correct = 'false';
assert(isequal(prime(x),y_correct))
|
Sum of diagonal of a square matrix
1327 Solvers
725 Solvers
Given a window, how many subsets of a vector sum positive
743 Solvers
320 Solvers
144 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!