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 :)
698 Solvers
248 Solvers
484 Solvers
462 Solvers
Convert a Cell Array into an Array
430 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!