I'd suggest adding test cases in which xlow<0 (and maybe also xhigh<0).
1100 Solvers
586 Solvers
middleAsColumn: Return all but first and last element as a column vector
393 Solvers
Set some matrix elements to zero
291 Solvers
3112 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!