I am working on a project by using Matlab. If there is anybody who knows Matlab and helps me, I appreciate. My question is; how to find intersection point of two curves and plotting stops at this point? To clarify, I have some equations, below, to specify the coordinate of points to get desired shape of curves. They pass each other beacuse of their construction. However, I want to make program plot the curves when the intersection exists. To visualise for you, I attached the image. Thanks.
X_inv = R.*sin(B_involute); Y_inv = R.*cos(B_involute); (for first curve)
X = (Yt.*sin(W))-(Xt.*cos(W)); Y = (Yt.*cos(W))+(Xt.*sin(W)); (for second curve)