Generate Circles in 500x500 pixel Spectrum

3 visualizzazioni (ultimi 30 giorni)
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.

Risposta accettata

Image Analyst
Image Analyst il 25 Nov 2022

Più risposte (1)

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

Categorie

Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by