Filter löschen
Filter löschen

Intersecting Rectangles from Two Matrices

1 Ansicht (letzte 30 Tage)
vivek
vivek am 18 Okt. 2014
Beantwortet: Star Strider am 18 Okt. 2014
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 ?

Antworten (1)

Star Strider
Star Strider am 18 Okt. 2014
The rectint function will probably do what you want.

Kategorien

Mehr zu Elementary Polygons finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by