ingeoquad
True for points inside or on lat-lon quadrangle
Syntax
tf = ingeoquad(lat, lon, latlim, lonlim)
Description
tf = ingeoquad(lat, lon, latlim, lonlim)
returns
an array tf
that has the same size as lat
and lon
.
tf(k)
is true if and only if the point lat(k)
, lon(k)
falls
within or on the edge of the geographic quadrangle defined by latlim
and lonlim
.
latlim
is a vector of the form [southern-limit
northern-limit]
, and lonlim
is a vector
of the form [western-limit eastern-limit]
. All
angles are in units of degrees.
Examples
Version History
Introduced in R2008a