Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = [1 2 3 4;5 6 7 8];
B_correct = [1 2 3 4 1 2 3 4;5 6 7 8 5 6 7 8;1 2 3 4 1 2 3 4;5 6 7 8 5 6 7 8];
assert(isequal(your_fcn_name(x),B_correct))
|
Swap the first and last columns
12408 Solvers
Number of 1s in a binary string
2818 Solvers
Is this triangle right-angled?
2394 Solvers
Sum of odd numbers in a matrix
311 Solvers
Rotate a matrix for 180 degree
132 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!