how to subtract two polygons

I have two polygons pol1 and pol2 and i want to subtract them. How to do it matlab 2015?

Answers (2)

Matt J
Matt J on 23 Dec 2019
Edited: Matt J on 23 Dec 2019
Use the polyshape subtract command, as in this example,

1 Comment

this link use polyshape function which I don't have in matlab2015

Sign in to comment.

Matt J
Matt J on 24 Dec 2019
This FEX contribution seems to be pretty well received (more than 4.5 stars based on 28 ratings)

Categories

Tags

Asked:

on 22 Dec 2019

Answered:

on 24 Dec 2019

Community Treasure Hunt

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

Start Hunting!