Intersecting Rectangles from Two Matrices

조회 수: 2 (최근 30일)
vivek
vivek 2014년 10월 18일
답변: Star Strider 2014년 10월 18일
I have two matfiles A and B containg the X,Y width and height of rectangles. Now i want to find out if any of the rectangles in B intersects with any of the rectangles in A. If there is a interesection I want to keep it,else discard the rectangle from B. Is there a simple way to do this ? Is there any Boolean operation function existing in Matlab ?

답변 (1개)

Star Strider
Star Strider 2014년 10월 18일
The rectint function will probably do what you want.

카테고리

Help CenterFile Exchange에서 Elementary Polygons에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by