Geographic quadrangle bounding scattered points

`[latlim,lonlim] = geoquadpt(lat,lon)`

example

`[`

returns
the limits of the tightest possible geographic quadrangle that bounds
a set of points with geographic coordinates `latlim`

,`lonlim`

]
= geoquadpt(`lat`

,`lon`

)`lat`

and `lon`

.

In most cases, `tf`

= `ingeoquad`

(`lat`

,`lon`

,`latlim`

,`lonlim`

)
will return true, but `tf`

may be false for points
on the edges of the quadrangle, due to round off. `tf`

will
also be false for elements of `lat`

that fall outside
the interval [-90 90] and elements of `lon`

that
are not finite.

Was this topic helpful?