MATLAB: Randomly generated complex polygon with user input

Image Processing Toolboxinputpolygonrandomuser

I want to generate a randomly shaped complex polygon which has start point (0,0) and has vertices defined by user input.

Best Answer

How about using ginput() or impoly()?