Rectangle intersection or Overlap
Show older comments
can some one help me to write the code for rectangle overlap for N rectangles ?? or for rectangle intersection?
Answers (1)
KALYAN ACHARJYA
on 4 Jun 2019
Edited: KALYAN ACHARJYA
on 4 Jun 2019
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 Comments
KALYAN ACHARJYA
on 5 Jun 2019
Is your question is answered?
Prakash Choudhary
on 5 Jun 2019
KALYAN ACHARJYA
on 5 Jun 2019
can some one help me to write the code for rectangle overlap for N rectangles ??
Prakash Choudhary
on 5 Jun 2019
Categories
Find more on Creating and Concatenating Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!