I have drawn the following arc (drawn in pink)
Using and putting one next to another the following arcs (each one with different xp,yp,radius and centre values of course)
teta = linspace(rangini,rangfin);
xco = centre(1)+radius*cos(teta);
yco = centre(2)+radius*sin(teta);
There is any form of uniting those arcs in only one function so I could work with it more easily in further code/programm?