Identification of overlapping points
4 views (last 30 days)
I have the following code.
for r=10:5:24 % r is radius
circles(r,17,12); % using circles function
if mod(i,2)==1; % even case
if mod(j,2)==1; % odd case
I have attached an image of the plot.
I want only the small circles (red and blue points) overlapping with the larger circles to appear. Any advice on how this can be achived. Many thanks.
Below is the circles function code.
function [x, y] = circles(r,Cx,Cy)