⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 vgdecef.m

📁 GPS TOOLBOX包含以下内容: 1、GPS相关常量和转换因子; 2、角度变换; 3、坐标系转换: &#61656 点变换; &#61656 矩阵变换; &#61656 向量变换
💻 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 + -