Given four coordinates, write a function to check if they form a square on the XY plane.
Solution Stats
Problem Comments
1 Comment
Solution Comments
Show comments
Loading...
Problem Recent Solvers31
Suggested Problems
-
Swap the first and last columns
22610 Solvers
-
Back to basics 4 - Search Path
382 Solvers
-
Reverse the elements of an array
1115 Solvers
-
The Answer to Life, the Universe, and Everything
578 Solvers
-
Put Two 1D matrices into one 1D matrix
142 Solvers
More from this Author11
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
This problem needs more test cases of squares not aligned with the main axis. And right kites.