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
-
Create an index-powered vector
933 Solvers
-
Sort the vector with the given index
125 Solvers
-
Find out total non zero element of matrix
285 Solvers
-
Replace every 3rd element in a vector with 4
263 Solvers
-
Compute LOG(1+X) in natural log
262 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!