Too bad this problem number has a '5' in it! :-)
Ha Ha! six is the new 5!
Any suggestions on my brute force method?
sorry, I added a couple of test cases to discourage this sort of solutions
654 Solvers
Back to basics 8 - Matrix Diagonals
783 Solvers
Flip the main diagonal of a matrix
506 Solvers
250 Solvers
Generate N equally spaced intervals between -L and L
566 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!