The correct answer is not really defined for x = 1, that is a one-sided polygon.
The test cases are insufficient.
187 Solvers
377 Solvers
Element by element multiplication of two vectors
269 Solvers
178 Solvers
124 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!