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.
Remove any row in which a NaN appears
6870 Solvers
2261 Solvers
Back to basics 8 - Matrix Diagonals
788 Solvers
436 Solvers
Create an index-powered vector
372 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!