Rectangle intersection or Overlap
조회 수: 4 (최근 30일)
이전 댓글 표시
can some one help me to write the code for rectangle overlap for N rectangles ?? or for rectangle intersection?
댓글 수: 0
답변 (1개)
KALYAN ACHARJYA
2019년 6월 4일
편집: KALYAN ACHARJYA
2019년 6월 4일
num=input('Number of Rantangle');
for i=1:num
rectangle('Position',[i i+1 2*i 3*i]);
%.....................^..^..^....^ set as per your requirements
hold on;
end
댓글 수: 4
KALYAN ACHARJYA
2019년 6월 5일
can some one help me to write the code for rectangle overlap for N rectangles ??
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!