필터 지우기
필터 지우기

How to find a point where line touches circle

조회 수: 1 (최근 30일)
sita
sita 2015년 1월 28일
Hi, In below mentioned code, How to find a point if line touches circle where it touches, if not how find it.Please help me in finding. x1=5; y1=5; r = 10; t = 0 : .1 : 2*pi; x = r * cos(t) + x1; y = r * sin(t) + y1; hold on; plot(x, y); x2=10; y2=10; %line x3=20; y3=20; line([x2,x3],[y2,y3]) hold off
Thanks, Sita

답변 (0개)

카테고리

Help CenterFile Exchange에서 Calculus에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by