Generate Circles in 500x500 pixel Spectrum

I need to generate a circle in matlab in the scope of 500x500 pixels. The circle image generated needs to have a white background and have the circle be generated in pink and purple.
I need to generate a certain amount of images so its a dataset. Like a for-loop that keeps saving all the different images generated.
I have no idea what commands to use but I started looking into the imaging process toolbox.

More Answers (1)

% Use: linspace()
% Use: meshgrid()
% Use: sin(), cos()
% Plot using: pcolor()

Products

Community Treasure Hunt

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

Start Hunting!