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.
406 Solvers
141 Solvers
Create One Large Eye of size N x N Quickly?
79 Solvers
Remove the two elements next to NaN value
418 Solvers
Square Digits Number Chain Terminal Value (Inspired by Project Euler Problem 92)
170 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!