The test suits only examines polycell = {[0 0 5 10 10 0] [5 -1 6 -5 5 -5]}, Can anyone help please
I find it amusing that an answer that games the problem still has a larger Cody size than the leading solution...
It is my way to learn something about Matlab: seeing other player's solutions. So If I cannot solve the problem (and obviously see other solutions) I use if/else.
Impressive Cell array processing, complex usage, arrayfun, and function vectorization.
Find relatively common elements in matrix rows
865 Solvers
1143 Solvers
Geometry: Find Circle given 3 Non-Colinear Points
50 Solvers
Split bread like the Pharaohs - Egyptian fractions and greedy algorithm
50 Solvers
Pernicious Anniversary Problem
735 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!