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 Solvers33
Suggested Problems
-
Sort a list of complex numbers based on far they are from the origin.
5821 Solvers
-
Right Triangle Side Lengths (Inspired by Project Euler Problem 39)
2150 Solvers
-
Simple equation: Annual salary
4272 Solvers
-
647 Solvers
-
Element by element multiplication of two vectors
399 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.