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