Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
x = magic(4);
y_correct = sum(diag(x));
assert(isequal(your_fcn_name(x),y_correct))
|
2 | Pass |
%%
x = ones(5);
y_correct = sum(diag(x));
assert(isequal(your_fcn_name(x),y_correct))
|
657 Solvers
Given an unsigned integer x, find the largest y by rearranging the bits in x
780 Solvers
Check to see if a Sudoku Puzzle is Solved
278 Solvers
Project Euler: Problem 2, Sum of even Fibonacci
835 Solvers
620 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!