📄 init_usr2satdata.m
字号:
function usr2satdata = init_usr2satdata(usrdata,satdata);%*************************************************************************%* Copyright c 2001 The board of trustees of the Leland Stanford *%* Junior University. All rights reserved. *%* This script file may be distributed and used freely, provided *%* this copyright notice is always kept with it. *%* *%* Questions and comments should be directed to Todd Walter at: *%* twalter@stanford.edu *%*************************************************************************%global COL_U2S_UID COL_U2S_PRN COL_U2S_MAX COL_SAT_PRN COL_USR_UIDglobal COL_U2S_TTRACK0global MOPS_MIN_GEOPRNnusr = size(usrdata,1);nsat = size(satdata,1);nlos = nsat*nusr;usr2satdata = repmat(NaN,nlos,COL_U2S_MAX);[t1 t2]=meshgrid(usrdata(:,COL_USR_UID),satdata(:,COL_SAT_PRN));usr2satdata(:,COL_U2S_UID) = reshape(t1,nlos,1); %usr idusr2satdata(:,COL_U2S_PRN) = reshape(t2,nlos,1); %prn%start the geo timetrack days in the pastgeo=find(usr2satdata(:,COL_U2S_PRN) >= MOPS_MIN_GEOPRN);usr2satdata(geo,COL_U2S_TTRACK0) = -7*24*3600;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -