Generate Circles in 500x500 pixel Spectrum

3 views (last 30 days)
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.

Accepted Answer

Image Analyst
Image Analyst on 25 Nov 2022

More Answers (1)

Sulaymon Eshkabilov
Sulaymon Eshkabilov on 25 Nov 2022
% Use: linspace()
% Use: meshgrid()
% Use: sin(), cos()
% Plot using: pcolor()

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!