You can use the FAQ - it creates a circle that can be used as a mask. http://matlab.wikia.com/wiki/FAQ#How_do_I_create_a_circle.3F
Also, see my attached demos.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!