I'd suggest adding test cases in which xlow<0 (and maybe also xhigh<0).
Find the alphabetic word product
2325 Solvers
1164 Solvers
Project Euler: Problem 1, Multiples of 3 and 5
1498 Solvers
704 Solvers
Side of an equilateral triangle
2606 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!