Really like your generic approach to solving this problem. In my case, I was misled by the test suite to provide a solution that works only for integral values.
190 Solvers
Back to basics 2 - Function Path
163 Solvers
164 Solvers
246 Solvers
Given a 4x4 matrix, swap the two middle columns
516 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!