Rectangle intersection or Overlap
8 ビュー (過去 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!