?? vgdecef.m
字號:
% vgdecef.m
% Scope: This MATLAB macro performs the transformation from geodetic to
% ECEF coordinates for a given position vector specified by the
% external points in geodetic coordinates; WGS-84 constants are used.
% Usage: pecef = vgdecef(pgd,pgdref)
% Description of parameters:
% pgd - input, geodetic position of the final point, where
% pgd(1) = latitude in radians
% pgd(2) = longitude in radians
% pgd(3) = altitude in meters
% pgdref - input, geodetic position of the reference point, where
% pgdref(1) = latitude in radians
% pgdref(2) = longitude in radians
% pgdref(3) = altitude in meters
% pecef - output, ECEF position vector, with components in meters
% External Matlab macros used: tgdecef, wgs84con
% Last update: 01/07/01
% Copyright (C) 1996-01 by LL Consulting. All Rights Reserved.
function pecef = vgdecef(pgd,pgdref)
pfinal = tgdecef(pgd(1),pgd(2),pgd(3));
pref = tgdecef(pgdref(1),pgdref(2),pgdref(3));
pecef = pfinal - pref;
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -