Problem 44857. Check if is a square
Given four coordinates, write a function to check if they form a square on the XY plane.
Solution Stats
Problem Comments
-
1 Comment
Rafael S.T. Vieira
on 26 Aug 2020
This problem needs more test cases of squares not aligned with the main axis. And right kites.
Solution Comments
Show commentsProblem Recent Solvers28
Suggested Problems
-
Flip the main diagonal of a matrix
842 Solvers
-
Create a matrix X, where each column is a shifted copy of the vector v
205 Solvers
-
Right Triangle Side Lengths (Inspired by Project Euler Problem 39)
1901 Solvers
-
754 Solvers
-
Matlab Basics - Absolute Value
636 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!