You could obtain the inequalities A*x<=b representing the hyperrectangle using VERT2LCON ( Download ). Then you can just verify whether the inequalities are satisfied. There is also
I don't know which approach would be faster.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!