For the n dimensional case it would be better to say that x and y lie on opposite vertices of the n-hypercuboid such that each edge is parallel to a coordinate axis.
nice trick :)
852 Solvers
722 Solvers
193 Solvers
295 Solvers
178 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!