matlab 两点距离

上传者: dawatuji | 上传时间: 2021-04-16 15:19:00 | 文件大小: 2KB | 文件类型: RAR
本函数旨在实现图像中求两点之间的距离 function [dist,phaseangle] = distance(lat,lon,units) % SW_DIST Distance between two lat,lon coordinates %=================================================================== % SW_DIST $Revision: 1.4 $ $Date: 1994/10/10 04:55:23 $ % Copyright (C) CSIRO, Phil Morgan & Steve Rintoul 1992. % % USAGE: [dist,phaseangle] = distance(lat,lon {,units} ) % % DESCRIPTION: % Calculate distance between two positions on glode using the "Plane % Sailing" method. Also uses simple geometry to calculate the bearing of % the path between position pairs. % % INPUT: % lat = decimal degrees (+ve N, -ve S) [- 90.. +90] % lon = decimal degrees (+ve E, -ve W) [-180..+180] % units = optional string specifing units of distance % 'nm' = nautical miles (default) % 'km' = kilometres % % OUTPUT: % dist = distance between positions in units % phaseangle = angle of line between stations with x axis (East). % Range of values are -180..+180. (E=0, N=90, S=-90) % % AUTHOR: Phil Morgan and Steve Rintoul 92-02-10 % % DISCLAIMER: % This software is provided "as is" without warranty of any kind. % See the file sw_copy.m for conditions of use and licence. % % REFERENCE: % The PLANE SAILING method as descriibed in "CELESTIAL NAVIGATION" 1989 by % Dr. P. Gormley. The Australian Antartic Division.

文件下载

资源详情

[{"title":"( 1 个子文件 2KB ) matlab 两点距离","children":[{"title":"sw_dist.m <span style='color:#111;'> 3.12KB </span>","children":null,"spread":false}],"spread":true}]

评论信息

  • hco69196 :
    非常好!很有用
    2014-08-24

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明