Doubt about plotting in Matlab and finding intersect points
1 view (last 30 days)
I have 2 doubts,
In one hand, I am trying to plot a circle as well as some lines. The problem here is that if I plot the circle alone it draws fine, but if I plot the circle with the lines, the circle deforms to an oval (as I show you in the images attached).
The code I have written for that is that one:
%%% DRAW THE CIRCUNFERENCE
%x and y are the coordinates of the center of the circle
%r is the radius of the circle
%0.01 is the angle step, bigger values will draw the circle faster but
%you might notice imperfections (not very smooth)
%DRAW LINES AT DIFFERENT ANGLE
In the other hand, I would like to find the intersection points between those lines and the circle.