필터 지우기
필터 지우기

how to find XLINE AND YLINE intersection

조회 수: 4 (최근 30일)
ravi shukla
ravi shukla 2020년 8월 20일
댓글: Star Strider 2020년 8월 20일
n=3;
m=4;
for i=1:n
xline(i);
for j=1:m
yline(j);
end
end
  댓글 수: 3
ravi shukla
ravi shukla 2020년 8월 20일
how to plot it on graph... like how to show these imtersection points on graph
Adam Danz
Adam Danz 2020년 8월 20일
Use the plot command. You may have to include hold on too.

댓글을 달려면 로그인하십시오.

채택된 답변

Star Strider
Star Strider 2020년 8월 20일
The intersections (in this example) are at all combinations of (i,j), in that order.
  댓글 수: 5
ravi shukla
ravi shukla 2020년 8월 20일
can we do it using mapshow? bcaz i did and i got the intersection points as picture
Star Strider
Star Strider 2020년 8월 20일
I have no idea. I do not have the Mapping Toolbox, so I cannot respond to that.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Specifying Target for Graphics Output에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by