I'd suggest adding test cases in which xlow<0 (and maybe also xhigh<0).
6779 Solvers
Project Euler: Problem 4, Palindromic numbers
260 Solvers
473 Solvers
07 - Common functions and indexing 6
363 Solvers
Return fibonacci sequence do not use loop and condition
226 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!