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!