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
-
Replace NaNs with the number that appears to its left in the row.
3069 Solvers
-
4538 Solvers
-
Getting the indices from a vector
12300 Solvers
-
Arrange vector in ascending order
831 Solvers
-
Determine the Anti-diagonal of a Magic Square
118 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.