MATLAB: How to draw same size rectangle on different image location

digital image processingimage acquisitionimage processingImage Processing Toolboximage segmentationoptimization

I have selected random points using the below code
m = imread('a.jpg');
figure, imshow(m);
random_num = 50;
l = randi(numel(m), 1, random_num);
m(l) = 255;
figure, imshow(m);
Now I want to draw circle/rectangle for each random points. circle/rectangle for all points will be of equal size.
Can anyone assist me how to do that please.
Added an image for your information.

Best Answer

See attached demo.