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

📄 enu2xyz.m

📁 it is a source code from gps toolbox
💻 M
字号:
function [x, y, z] = enu2xyz(phi,lambda,e,n,u)
%ENU2XYZ  Transformation of [e;n;u] vector from local to geocentric
%   	    system. The local system has origin at (phi, lambda)

%Kai Borre 03-31-97
%Copyright (c) by Kai Borre
%$Revision: 1.0 $  $Date: 1997/09/26  $

dtr = pi/180;
cl = cos(lambda*dtr);  sl = sin(lambda*dtr);
cb = cos(phi*dtr);	  sb = sin(phi*dtr);
F = [-sl -sb*cl cb*cl;
      cl -sb*sl cb*sl;
      0	  cb      sb];
global_vector = F*[e; n; u];
x = global_vector(1);
y = global_vector(2);
z = global_vector(3);
%%%%%%%%% end enu2xyz.m %%%%%%%%%

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -