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 :)
Return a list sorted by number of occurrences
1506 Solvers
786 Solvers
Determine Whether an array is empty
647 Solvers
248 Solvers
Magic is simple (for beginners)
2766 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!