Generate Circles in 500x500 pixel Spectrum

3 vues (au cours des 30 derniers jours)
marsmar
marsmar le 25 Nov 2022
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.

Réponse acceptée

Image Analyst
Image Analyst le 25 Nov 2022

Plus de réponses (1)

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

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by