I'd suggest adding test cases in which xlow<0 (and maybe also xhigh<0).
236 Solvers
435 Solvers
Check if number exists in vector
4686 Solvers
Output any real number that is neither positive nor negative
319 Solvers
381 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!