I'd suggest adding test cases in which xlow<0 (and maybe also xhigh<0).
Find the numeric mean of the prime numbers in a matrix.
6917 Solvers
Project Euler: Problem 5, Smallest multiple
424 Solvers
910 Solvers
584 Solvers
437 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!