亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? twoline2rv.m

?? NORAD公布的兩行星歷數據計算軌道參數模型
?? M
字號:
%  -----------------------------------------------------------------------------
% 
%                            procedure twoline2rv
% 
%  this function converts the two line element set character string data to
%    variables and initializes the sgp4 variables. several intermediate varaibles
%    and quantities are determined. note that the result is a structure so multiple
%    satellites can be processed simultaneously without having to reinitialize. the
%    verification mode is an important option that permits quick checks of any
%    changes to the underlying technical theory. this option works using a
%    modified tle file in which the start, stop, and delta time values are
%    included at the end of the second line of data. this only works with the
%    verification mode. the catalog mode simply propagates from -1440 to 1440 min
%    from epoch and is useful when performing entire catalog runs.
% 
% Author: 
%   Jeff Beck 
%   beckja@alumni.lehigh.edu
%   1.0  aug  6, 2006 - update for paper dav
%   2.0  mar  8, 2007 - misc fixes and manual operation updates
%   2.01 may  9, 2007 - fix for correction to year of 57
%   2.02 oct  8, 2007 - fix for manual jdstart jdstop matlab formats
% original comments from Vallado C++ version:
%   author        : david vallado                  719-573-2600    1 mar 2001
% 
%   inputs        :
%   longstr1      - TLE character string 
%   longstr2      - TLE character string 
%   typerun       - character for mode of SGP4 execution 
%                   'c' = catalog mode (propagates at 20 min timesteps from
%                           one day before epoch to one day after)
%                   'v' = verification mode (propagates according to start,
%                           stop, and timestep specified in longstr2)
%                   'm' = manual mode (prompts user for start, stop, and
%                           timestep for propagation)
%   typeinput     - type of manual input           mfe 'm', epoch 'e', dayofyr 'd'
% 
%   outputs       :
%     satrec      - structure containing all the sgp4 satellite information
% 
%   coupling      :
%     getgravconst
%     days2mdhms  - conversion of days to month, day, hour, minute, second
%     jday        - convert day month year hour minute second into julian date
%     sgp4init    - initialize the sgp4 variables
% 
%   references    :
%     norad spacetrack report #3
%     vallado, crawford, hujsak, kelso  2006
%
% [satrec, startmfe, stopmfe, deltamin] = twoline2rv(whichconst, longstr1, ...
%          longstr2, typerun,typeinput)
%  ----------------------------------------------------------------------------*/

function [satrec, startmfe, stopmfe, deltamin] = twoline2rv(whichconst, longstr1, ...
          longstr2, typerun,typeinput)

    global tumin radiusearthkm xke j2 j3 j4 j3oj2  

    deg2rad  =   pi / 180.0;         %  0.01745329251994330;  % [deg/rad]
    xpdotp   =  1440.0 / (2.0*pi);   % 229.1831180523293;  % [rev/day]/[rad/min]  

    revnum = 0; 
    elnum  = 0;
    year   = 0; 
    satrec.error = 0;

%     // set the implied decimal points since doing a formated read
%     // fixes for bad input data values (missing, ...)
    for (j = 11:16)
        if (longstr1(j) == ' ')
            longstr1(j) = '_';
        end
    end

    if (longstr1(45) ~= ' ')
        longstr1(44) = longstr1(45);
    end
    longstr1(45) = '.';
     
    if (longstr1(8) == ' ')
        longstr1(8) = 'U';
    end

    if (longstr1(10) == ' ')
        longstr1(10) = '.';
    end

    for (j = 46:50)
        if (longstr1(j) == ' ')
            longstr1(j) = '0';
        end
    end
    if (longstr1(52) == ' ')
        longstr1(52) = '0';
    end
    if (longstr1(54) ~= ' ')
        longstr1(53) = longstr1(54);
    end
    longstr1(54) = '.';

    longstr2(26) = '.';
     
    for (j = 27:33)
        if (longstr2(j) == ' ')
            longstr2(j) = '0';
        end
    end
     
    if (longstr1(63) == ' ')
        longstr1(63) = '0';
    end

    if ((length(longstr1) < 68) || (longstr1(68) == ' '))
        longstr1(68) = '0';
    end

    % parse first line
    carnumb = str2num(longstr1(1));
    satrec.satnum = str2num(longstr1(3:7));
    classification = longstr1(8);
    intldesg = longstr1(10:17);
    satrec.epochyr = str2num(longstr1(19:20));
    satrec.epochdays = str2num(longstr1(21:32));
    satrec.ndot = str2num(longstr1(34:43));
    satrec.nddot = str2num(longstr1(44:50));
    nexp = str2num(longstr1(51:52));
    satrec.bstar = str2num(longstr1(53:59));
    ibexp = str2num(longstr1(60:61));
    numb = str2num(longstr1(63));
    elnum = str2num(longstr1(65:68));
 
    % parse second line
    if (typerun == 'v')
        cardnumb = str2num(longstr2(1));
        satrec.satnum = str2num(longstr2(3:7));
        satrec.inclo = str2num(longstr2(8:16));
        satrec.nodeo = str2num(longstr2(17:25));
        satrec.ecco = str2num(longstr2(26:33));
        satrec.argpo = str2num(longstr2(34:42));
        satrec.mo = str2num(longstr2(43:51));
        satrec.no = str2num(longstr2(52:63));
        revnum = str2num(longstr2(64:68));
        startmfe = str2num(longstr2(70:81));        
        stopmfe  = str2num(longstr2(83:96)); 
        deltamin = str2num(longstr2(97:105)); 
    else
        cardnumb = str2num(longstr2(1));
        satrec.satnum = str2num(longstr2(3:7));
        satrec.inclo = str2num(longstr2(8:16));
        satrec.nodeo = str2num(longstr2(17:25));
        satrec.ecco = str2num(longstr2(26:33));
        satrec.argpo = str2num(longstr2(34:42));
        satrec.mo = str2num(longstr2(43:51));
        satrec.no = str2num(longstr2(52:63));
        revnum = str2num(longstr2(64:68));
    end

%     // ---- find no, ndot, nddot ----
    satrec.no   = satrec.no / xpdotp; %//* rad/min
    satrec.nddot= satrec.nddot * 10.0^nexp;
    satrec.bstar= satrec.bstar * 10.0^ibexp;

%     // ---- convert to sgp4 units ----
    satrec.a    = (satrec.no*tumin)^(-2/3);                % [er]
    satrec.ndot = satrec.ndot  / (xpdotp*1440.0);          % [rad/min^2]
    satrec.nddot= satrec.nddot / (xpdotp*1440.0*1440);     % [rad/min^3]

%     // ---- find standard orbital elements ----
    satrec.inclo = satrec.inclo  * deg2rad;
    satrec.nodeo = satrec.nodeo * deg2rad;
    satrec.argpo = satrec.argpo  * deg2rad;
    satrec.mo    = satrec.mo     *deg2rad;

    satrec.alta = satrec.a*(1.0 + satrec.ecco) - 1.0;
    satrec.altp = satrec.a*(1.0 - satrec.ecco) - 1.0;

%     // ----------------------------------------------------------------
%     // find sgp4epoch time of element set
%     // remember that sgp4 uses units of days from 0 jan 1950 (sgp4epoch)
%     // and minutes from the epoch (time)
%     // --------------------------------------------------------------

%     // ------------- temp fix for years from 1957-2056 ----------------
%     // ------ correct fix will occur when year is 4-digit in 2le ------
     if (satrec.epochyr < 57)
         year= satrec.epochyr + 2000;
       else
         year= satrec.epochyr + 1900;
     end;

     [mon,day,hr,minute,sec] = days2mdh ( year,satrec.epochdays );
     satrec.jdsatepoch = jday( year,mon,day,hr,minute,sec );

%     // input start stop times manually
     if ((typerun ~= 'v') && (typerun ~= 'c'))
         % ------------- enter start/stop ymd hms values --------------------
           if (typeinput == 'e')
               startyear = input('input start year');
               startmon  = input('input start mon');
               startday  = input('input start day');
               starthr   = input('input start hr');
               startmin  = input('input start min');
               startsec  = input('input start sec');
               jdstart = jday( startyear,startmon,startday,starthr,startmin,startsec );

               stopyear = input('input stop year');
               stopmon  = input('input stop mon');
               stopday  = input('input stop day');
               stophr   = input('input stop hr');
               stopmin  = input('input stop min');
               stopsec  = input('input stop sec');
               jdstop = jday( stopyear,stopmon,stopday,stophr,stopmin,stopsec );

               startmfe = (jdstart - satrec.jdsatepoch) * 1440.0;
               stopmfe  = (jdstop - satrec.jdsatepoch) * 1440.0;
               deltamin = input('input time step in minutes ');
           end;
           % -------- enter start/stop year and days of year values -----------
           if (typeinput == 'd')
               startyear    = input('input start year');
               startdayofyr = input('input start dayofyr');
               stopyear     = input('input stop year');
               stopdayofyr  = input('input stop dayofyr');

               [mon,day,hr,minute,sec] = days2mdhms ( startyear,startdayofyr);
               jdstart = jday( startyear,mon,day,hr,minute,sec);
               [mon,day,hr,minute,sec] = days2mdhms ( stopyear,stopdayofyr);
               jdstop = jday( stopyear,mon,day,hr,minute,sec);

               startmfe = (jdstart - satrec.jdsatepoch) * 1440.0;
               stopmfe  = (jdstop - satrec.jdsatepoch) * 1440.0;
               deltamin = input('input time step in minutes ');
           end;
           % ------------------ enter start/stop mfe values -------------------
           if (typeinput == 'm')
               startmfe = input('input start mfe: ');
               stopmfe  = input('input stop mfe: ');
               deltamin = input('input time step in minutes: ');
           end;
       end;
%     // perform complete catalog evaluation
     if (typerun == 'c')
         startmfe =  -1440.0;
         stopmfe  =  1440.0;
         deltamin = 20.0;
     end;
     
%     // ------------- initialize the orbit at sgp4epoch --------------
     sgp4epoch = satrec.jdsatepoch - 2433281.5; % days since 0 Jan 1950
     [satrec] = sgp4init(whichconst, satrec, satrec.bstar, satrec.ecco, sgp4epoch, ...
         satrec.argpo, satrec.inclo, satrec.mo, satrec.no, satrec.nodeo);

     

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
色婷婷精品久久二区二区蜜臀av| 亚洲黄色免费电影| 理论片日本一区| 精品国产乱码久久久久久牛牛| 亚洲成av人影院| 欧美变态tickle挠乳网站| 狠狠色丁香婷婷综合| 久久久精品国产免大香伊| 国产精品一区二区视频| 中文字幕高清不卡| 色综合一个色综合| 午夜国产不卡在线观看视频| 精品欧美一区二区三区精品久久 | 亚洲6080在线| 欧美mv日韩mv国产网站| 国产精品综合视频| 亚洲视频1区2区| 欧美久久久久久久久| 美女尤物国产一区| 18欧美乱大交hd1984| 欧美色视频一区| 国产美女av一区二区三区| 日韩一区欧美一区| 欧美一区二区精品久久911| 国产成人精品一区二| 亚洲乱码中文字幕| 精品播放一区二区| 色综合久久综合中文综合网| 久久精品国产精品青草| 亚洲人成网站色在线观看| 91精品国产综合久久久蜜臀图片| 国产成人午夜高潮毛片| 亚洲18色成人| 中文字幕在线不卡一区二区三区| 在线不卡a资源高清| 成人免费视频免费观看| 日韩高清一级片| 中文字幕永久在线不卡| 欧美一级日韩不卡播放免费| 成人h动漫精品一区二区| 视频一区中文字幕| 1区2区3区精品视频| 久久综合中文字幕| 91精品国产综合久久国产大片| 国产白丝精品91爽爽久久| 日韩av一区二区三区四区| 国产精品久久久久久久久久久免费看 | 一区二区三区在线看| 久久综合给合久久狠狠狠97色69| 欧美色图免费看| 99久久免费精品| 国产乱码精品一区二区三区av| 视频一区二区国产| 亚洲欧美激情小说另类| 国产色婷婷亚洲99精品小说| 日韩三级视频在线看| 欧美男人的天堂一二区| 色噜噜狠狠成人中文综合 | av电影天堂一区二区在线观看| 免费高清不卡av| 五月天一区二区| 亚洲国产欧美日韩另类综合| 一区二区中文视频| 欧美国产日韩一二三区| 久久先锋影音av| 欧美成人官网二区| 日韩欧美视频一区| 日韩欧美中文一区二区| 日韩一级二级三级| 在线成人高清不卡| 91精品婷婷国产综合久久竹菊| 在线观看亚洲专区| 欧洲国产伦久久久久久久| 93久久精品日日躁夜夜躁欧美| 欧美日韩国产在线观看| 91女人视频在线观看| 色综合久久精品| 欧美最猛性xxxxx直播| 日本久久一区二区三区| 在线看国产日韩| 欧美在线小视频| 欧美日韩一区不卡| 欧美日韩精品一区二区| 日韩一区二区三区三四区视频在线观看 | 色欲综合视频天天天| 色噜噜狠狠一区二区三区果冻| 色婷婷综合久久久久中文一区二区| 色综合久久久久综合体| 欧美专区在线观看一区| 欧美日韩一区国产| 欧美一级xxx| 久久色在线观看| 国产精品免费久久久久| 亚洲色图一区二区三区| 亚洲成人免费在线观看| 蜜桃视频在线观看一区二区| 国产在线播放一区三区四| 国产99久久久国产精品| 91在线视频在线| 欧美日韩不卡一区二区| 欧美成人一区二区三区| 国产午夜精品理论片a级大结局| 亚洲欧洲韩国日本视频| 亚洲成人资源网| 激情五月婷婷综合| 99re视频精品| 日韩欧美电影一区| 国产精品视频线看| 亚洲无线码一区二区三区| 男女激情视频一区| 成人爱爱电影网址| 欧美精品视频www在线观看 | 懂色av一区二区三区蜜臀| 91免费国产在线| 欧美一区二区精美| 最新成人av在线| 日本不卡视频在线观看| 成人精品国产免费网站| 欧美日韩国产高清一区二区三区 | 亚洲精品中文字幕在线观看| 蜜臀av性久久久久av蜜臀妖精| 成人黄色av网站在线| 欧美另类变人与禽xxxxx| 国产三级欧美三级| 爽爽淫人综合网网站| 成人黄色在线看| 欧美一区二区三区免费大片| 国产精品成人网| 久久99国产精品免费网站| 91官网在线免费观看| 精品乱人伦一区二区三区| 夜夜嗨av一区二区三区网页| 国产精品一区二区久久不卡| 欧美日韩国产大片| |精品福利一区二区三区| 免费在线成人网| 欧美色综合网站| 国产精品日韩精品欧美在线| 久久精品国产亚洲一区二区三区| 一本色道久久综合亚洲精品按摩| 午夜精品免费在线观看| 国产91高潮流白浆在线麻豆| 日韩色在线观看| 一区二区三区不卡在线观看| 国产大片一区二区| 日韩欧美高清一区| 午夜视频在线观看一区二区| 91色视频在线| 国产精品久久久久婷婷二区次| 久久精品国产99国产| 欧美人与性动xxxx| 亚洲综合在线免费观看| 成人免费不卡视频| 久久久国产精品午夜一区ai换脸| 日韩高清在线一区| 精品视频在线免费看| 一区二区不卡在线视频 午夜欧美不卡在| 国产99久久久久| 国产偷国产偷亚洲高清人白洁| 久久国产精品露脸对白| 欧美日韩高清在线| 亚洲第一av色| 欧美人伦禁忌dvd放荡欲情| 一区二区三区四区国产精品| 99久久er热在这里只有精品66| 中文字幕一区二区三区在线播放| 成人国产精品免费观看| 国产精品女主播av| av不卡在线播放| 亚洲黄色尤物视频| 在线精品视频免费观看| 一区二区三区小说| 欧美视频中文一区二区三区在线观看| 亚洲精品日韩综合观看成人91| 色哟哟亚洲精品| 亚洲综合一二区| 欧美三级视频在线播放| 亚洲第一激情av| 7777精品伊人久久久大香线蕉超级流畅| 亚洲电影激情视频网站| 欧美一区二区在线播放| 男男gaygay亚洲| 久久久久久电影| 成人高清视频在线| 一二三四社区欧美黄| 欧美日本一道本在线视频| 美女视频黄久久| 日本一区二区电影| 中文字幕乱码一区二区免费| 成人美女视频在线看| 国产精品视频yy9299一区| 91同城在线观看| 日韩精品五月天| 久久久不卡网国产精品一区| 风间由美中文字幕在线看视频国产欧美 | 免费不卡在线观看| 日本一区二区三区dvd视频在线| 色综合天天综合网国产成人综合天 | 亚洲综合精品久久| 欧美一区二区成人|