本函数旨在实现图像中求两点之间的距离function[dist,phaseangle]=distance(lat,lon,units)%SW_DISTDistancebetweentwolat,loncoordinates%===================================================================%SW_DIST$Revision:1.4$$Date:1994/10/1004:55:23$%Copyright(C)CSIRO,PhilMorgan&SteveRintoul1992.%%USAGE