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
-
Return the largest number that is adjacent to a zero
5547 Solvers
-
Find common elements in matrix rows
2721 Solvers
-
Compute a dot product of two vectors x and y
1057 Solvers
-
Relative ratio of "1" in binary number
1674 Solvers
-
946 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.