Rectangle intersection or Overlap
Afficher commentaires plus anciens
can some one help me to write the code for rectangle overlap for N rectangles ?? or for rectangle intersection?
Réponses (1)
KALYAN ACHARJYA
le 4 Juin 2019
Modifié(e) : KALYAN ACHARJYA
le 4 Juin 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 commentaires
KALYAN ACHARJYA
le 5 Juin 2019
Is your question is answered?
Prakash Choudhary
le 5 Juin 2019
KALYAN ACHARJYA
le 5 Juin 2019
can some one help me to write the code for rectangle overlap for N rectangles ??
Prakash Choudhary
le 5 Juin 2019
Catégories
En savoir plus sur Creating and Concatenating Matrices dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!