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 Solvers31
Suggested Problems
-
Program an exclusive OR operation with logical operators
745 Solvers
-
What is the distance from point P(x,y) to the line Ax + By + C = 0?
554 Solvers
-
Duplicate each element of a vector.
633 Solvers
-
Add a row of zeros on top of a matrix
265 Solvers
-
Find the index of n in magic(n)
268 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!