Generate Circles in 500x500 pixel Spectrum

1 Ansicht (letzte 30 Tage)
marsmar
marsmar am 25 Nov. 2022
Beantwortet: Image Analyst am 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.

Akzeptierte Antwort

Image Analyst
Image Analyst am 25 Nov. 2022

Weitere Antworten (1)

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

Kategorien

Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by