Mapping Toolbox    
polysplit

Extract segments of NaN-delimited polygon vectors to cell arrays.

Syntax

Description

[latcells,loncells] = polysplit(lat,lon) returns the NaN-delimited segments of the vectors lat and lon as cell arrays. Each element of the cell array contains one segment.

Example

See Also
polybool
Perform polygon boolean operations
polyjoin
Convert polygon segments from cell array to vector format


  polymerge polyxpoly