If input must ber an integer n>=3, why in the test suite there are n=1 and n=2 cases?
test case for x=5 is wrong: swap 17 and 18.
Replace NaNs with the number that appears to its left in the row.
2020 Solvers
833 Solvers
Back to basics 21 - Matrix replicating
1052 Solvers
Determine if input is a Narcissistic number
120 Solvers
111 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!