Home > hfrc > matlab > utility > lonlat2angle.m

lonlat2angle

PURPOSE ^

LONLAT2ANGLE - Returns the angle from a point to a set of

SYNOPSIS ^

function th = lonlat2angle( pt, ll )

DESCRIPTION ^

 LONLAT2ANGLE - Returns the angle from a point to a set of
 longitude-latitude coordinates.

 Usage: theta = lonlat2angle( point, lonlat )

 theta is in radians.  point is a two-element vector (lon,lat), and
 lonlat is a two column array (lons,lats).

 This function is useful for reducing radial HFRC objects to only those
 over land.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Mon 18-Dec-2006 07:26:46 by m2html © 2003