MATLAB: Identify coordinates in user-defined target region

Опубликовано: 22 Октябрь 2024
на канале: Mike X Cohen
4,323
75

Use MATLAB to draw arbitrarily shaped polygons via ginput, and identify any coordinates that are inside those polygons via inpolygon.

You can download the completed code here (although I encourage you to follow along with the video so you can pause and try to solve the challenges yourself!):
http://sincxpress.com/findDotsPolygon.m

For more educational material, including courses and books, see sincxpress.com