matlab azimuth,Azimuth - MATLAB & Simulink - MathWorks 中国

Calculate Azimuth

When the azimuth is calculated from one point to another using the toolbox, the result

depends upon whether you want a great circle or a rhumb line azimuth. For great circles, the

result is the azimuth at the starting point of the connecting great circle path. In general,

the azimuth along a great circle is not constant. For rhumb lines, the resulting azimuth is

constant along the entire path.

Azimuths, or bearings, are returned in the same angular units as the input latitudes and

longitudes. The default path type is the shorter great circle, and the default angular units

are degrees. In the example, the great circle azimuth from the first point to the second

is

azgc = azimuth(-15,0,60,150)

azgc =

19.0391

For the rhumb line, the constant azimuth is

azrh = azimuth('rh',-15,0,60,150)

azrh =

58.8595

One feature of rhumb lines is that the inverse azimuth, from the second point to the

first, is the complement of the forward azimuth and can be calculated by simply adding 180°

to the forward value:

inverserh = azimuth('rh',60,150,-15,0)

inverserh =

238.8595

difference = inverserh-azrh

difference =

180

This is not true, in general, of great circles:

inversegc = azimuth('gc',60,150,-15,0)

inversegc =

320.9353

difference = inversegc-azgc

difference =

301.8962

The azimuths associated with cardinal and intercardinal compass directions are the

following:

North0° or 360°

Northeast45°

East90°

Southeast135°

South180°

Southwest225°

West270°

Northwest315°

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值