Min Cyclic Chain Code There's many problems in this projct, but the key idea is to find a start point in an cyclic arrary, which make the value smallest. The picture "explain.png" may explain the goal clearly. And the algorithm is in "sd_minRepresentation.m".