?? rotct2lg.m
字號:
function R=rotct2lg(lat,lon)% ROTCT2LG Forms rotation matrix to convert from CT% coordinate system to LG (NEU) coordinate system.% If astronomic lat,lon input, then output is in% local astronomic system. Non-vectorized. See also% ROTLG2CT.% Version: 9 Jun 2000% Useage: R=rotct2lg(lat,lon)% Input: lat - lat of local system origin (rad)% lon - lon of local system origin (rad)% Output: R - Rotation matrix to convert from CT to LG (NEU)R=zeros(3,3);R(1,1)=-sin(lat).*cos(lon);R(1,2)=-sin(lat).*sin(lon);R(1,3)=cos(lat);R(2,1)=-sin(lon);R(2,2)=cos(lon);R(2,3)=0;R(3,1)=cos(lat).*cos(lon);R(3,2)=cos(lat).*sin(lon);R(3,3)=sin(lat);
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -