How to generate a circular mask ?

How to generate a image mask (500X500) having circles at specified centre points.I have with me the centre(different) and radius(same) of the circles with me. How to create a mask having circles generated at those centre points with the radius that is same.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by