how to specify points outside a polygon?
    3 visualizzazioni (ultimi 30 giorni)
  
       Mostra commenti meno recenti
    
For example, in the below code, I can specify the points inside the polygon. How about outside the polygon? How do I specify that?
IN = inpolygon(lon, lat, x0, y0);
lon  = lon(IN);
lat  = lat(IN);
ph1  = ph1(IN);
0 Commenti
Risposta accettata
  Walter Roberson
      
      
 il 8 Mag 2018
        IN = inpolygon(lon, lat, x0, y0);
lon  = lon(~IN);
lat  = lat(~IN);
ph1  = ph1(~IN);
0 Commenti
Più risposte (1)
Vedere anche
Categorie
				Scopri di più su Transportation Engineering in Help Center e File Exchange
			
	Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

