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

📄 cplos.m

📁 In the planning stage of a GNSS-measurement campaign it is useful to compute several design para-met
💻 M
字号:
function [los] = cplos (xyz,station);%CPLOS: Create the design-matrix for pseudolite-case%% Syntax:%    [los] = cplos (xyz,station);%% Input arguments:%    xyz     - XYZ-positions of pseudo- or satellites (WGS'84, Earth-fixed)%    station - Station coordinates (WGS'84, Earth-fixed)%
% Output arguments:%    los     - line-of-sight vectors from station to pseudo- or satellites% ________________________________________________________________________
% File.....: cplos.m% Date.....: 22-DEC-2000% Version..: 1.0sv% Author...: Sandra Verhagen%            Mathematical Geodesy and Positioning%            Delft University of Technology
% _________________________________________________________________________

npl = size(xyz,1);
for i = 1:npl
   xyzt = xyz(i,:) - station;
   dist = sqrt(sum(xyzt.*xyzt)); 
   los(i,:) = -xyzt./dist;
end
 

⌨️ 快捷键说明

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