af_geoconst.m

来自「WAAS matlab仿真程序 maast」· M 代码 · 共 42 行

M
42
字号
function satdata = af_geoconst(satdata,wrsdata,wrs2satdata,do_mt28, dual_freq)%*************************************************************************%*     Copyright c 2007 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 GEOUDREI_CONSTglobal COL_SAT_UDREI COL_SAT_COV COL_SAT_SCALEF COL_SAT_MINMONnsat = size(satdata,1);nwrs = size(wrsdata,1);nlos = size(wrs2satdata,1);%all satellite meet the minimum monitoring criteria (used for histogram)satdata(:,COL_SAT_MINMON)=repmat(1,nsat,1);%all satellites have the same UDREI valuesatdata(:,COL_SAT_UDREI) = repmat(GEOUDREI_CONST,nsat,1);%if using MT 28 put in the identity matrix for XYZ and 0 for clockif do_mt28  a=eye(4);  a(4,4)=0;  a=a(:)';  satdata(:,COL_SAT_COV)=repmat(a,nsat,1);  satdata(:,COL_SAT_SCALEF)=repmat(0,nsat,1);end   

⌨️ 快捷键说明

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