I have an assignment for my Matlab class in which I have to make a grey matrix (all locations have value 100). In this matrix there should be a filled circle. All the values in the filled circle should be 200. How do I create this? My teacher gave me the following tip: use these functions: rand(), randperm(), indexing, for-loop, gray(), meshgrid(), cart2pol() Some of these functions might not be necessary for creating this circle in the matrix. My assignment is bigger than just creating a filled circle, but i'm not sure which functions are needed, so I decided to show them all.
MATLAB: How to make a grey matrix, that contains a filled circle
cart2polcirclefaqfilledgreymatrix
Related Question
- Problem with pixels of filled circle
- Find coordinates xy of a ball in an image and track it by its centre coordinates
- How to make shape display in black colour and background in white colour
- Image segmentation – Specify an area of interest
- How to draw a disk of given center and radius
- Finding solid circles using imfind circles
- How to generate the modeling of particle environment
Best Answer