Hello all I have my code below and would like to know,
how can I edit it that it will always put a marker in the center of the circle each time and for multiple cicles
function circle = circleplot(x,y,r,c)hold onth = 0:pi/50:2*pi;x_circle = r * cos(th) + x;y_circle = r * sin(th) + y;circle = plot(x_circle, y_circle);fill(x_circle, y_circle, c)axis equalend
Thank you
Best Answer