Matrix of circle points

Exercise Type: Implementation

Take a look at the earlier exercise to draw a circle.

Instruction

Modify the function to return the coordinates of the circle’s points as a matrix!

name Circle()
arguments x : x coordinate of origin
  y : y coordinate of origin
  r : radius
  by : the angle step size in degrees
return a two-column matrix, column names: x and y