a) Write a custom MATLAB function named arc(xy,r;al,a2) which plots a two-dimensional arc as shown in (b). Using the arc function you defined in (a), write another MATLAB function named baseStation(xy,a3), which plots a cellular base station symbol, as shown in Fig 2(a). The input arguments of the function are the position of the symbol's center (x, y), and the tilt angle of the symbol a3. Note that the arcs and the circle of the symbol are centered at the same point, and the central angle of the arcs is 2θ-3. You may assign arbitrary values to the arc radii. (c) Use the baseStation(xy,a3) function to plot the base station network demonstrated in Fig 2(b).
Figure: Conceptual drawings of cellular base stations plotted by the baseStation(xy,a3) function. Dashed lines and text are only for problem description and should not be outputted by your function.