📄 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 + -