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

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

?? ephemeris.m

?? This toolbox is used to develop software defined radio for GPS receiver
?? M
字號:
function [eph, TOW] = ephemeris(bits, D30Star)
%Function decodes ephemerides and TOW from the given bit stream. The stream
%(array) in the parameter BITS must contain 1500 bits. The first element in
%the array must be the first bit of a subframe. The subframe ID of the
%first subframe in the array is not important.
%
%Function does not check parity!
%
%[eph, TOW] = ephemeris(bits, D30Star)
%
%   Inputs:
%       bits        - bits of the navigation messages (5 subframes).
%                   Type is character array and it must contain only
%                   characters '0' or '1'.
%       D30Star     - The last bit of the previous nav-word. Refer to the
%                   GPS interface control document ICD (IS-GPS-200D) for
%                   more details on the parity checking. Parameter type is
%                   char. It must contain only characters '0' or '1'.
%   Outputs:
%       TOW         - Time Of Week (TOW) of the first sub-frame in the bit
%                   stream (in seconds)
%       eph         - SV ephemeris

%--------------------------------------------------------------------------
%                           SoftGNSS v3.0
% 
% Copyright (C) Darius Plausinaitis and Kristin Larson
% Written by Darius Plausinaitis and Kristin Larson
%--------------------------------------------------------------------------
%This program is free software; you can redistribute it and/or
%modify it under the terms of the GNU General Public License
%as published by the Free Software Foundation; either version 2
%of the License, or (at your option) any later version.
%
%This program is distributed in the hope that it will be useful,
%but WITHOUT ANY WARRANTY; without even the implied warranty of
%MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
%GNU General Public License for more details.
%
%You should have received a copy of the GNU General Public License
%along with this program; if not, write to the Free Software
%Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301,
%USA.
%--------------------------------------------------------------------------

%CVS record:
%$Id: ephemeris.m,v 1.1.2.7 2006/08/14 11:38:22 dpl Exp $


%% Check if there is enough data ==========================================
if length(bits) < 1500
    error('The parameter BITS must contain 1500 bits!');
end

%% Check if the parameters are strings ====================================
if ~ischar(bits)
    error('The parameter BITS must be a character array!');
end

if ~ischar(D30Star)
    error('The parameter D30Star must be a char!');
end

% Pi used in the GPS coordinate system
gpsPi = 3.1415926535898; 

%% Decode all 5 sub-frames ================================================
for i = 1:5

    %--- "Cut" one sub-frame's bits ---------------------------------------
    subframe = bits(300*(i-1)+1 : 300*i);

    %--- Correct polarity of the data bits in all 10 words ----------------
    for j = 1:10
        [subframe(30*(j-1)+1 : 30*j)] = ...
            checkPhase(subframe(30*(j-1)+1 : 30*j), D30Star);
        
        D30Star = subframe(30*j);
    end

    %--- Decode the sub-frame id ------------------------------------------
    % For more details on sub-frame contents please refer to GPS IS.
    subframeID = bin2dec(subframe(50:52));

    %--- Decode sub-frame based on the sub-frames id ----------------------
    % The task is to select the necessary bits and convert them to decimal
    % numbers. For more details on sub-frame contents please refer to GPS
    % ICD (IS-GPS-200D).
    switch subframeID
        case 1  %--- It is subframe 1 -------------------------------------
            % It contains WN, SV clock corrections, health and accuracy
            eph.weekNumber  = bin2dec(subframe(61:70)) + 1024;
            eph.accuracy    = bin2dec(subframe(73:76));
            eph.health      = bin2dec(subframe(77:82));
            eph.T_GD        = twosComp2dec(subframe(197:204)) * 2^(-31);
            eph.IODC        = bin2dec([subframe(83:84) subframe(197:204)]);
            eph.t_oc        = bin2dec(subframe(219:234)) * 2^4;
            eph.a_f2        = twosComp2dec(subframe(241:248)) * 2^(-55);
            eph.a_f1        = twosComp2dec(subframe(249:264)) * 2^(-43);
            eph.a_f0        = twosComp2dec(subframe(271:292)) * 2^(-31);

        case 2  %--- It is subframe 2 -------------------------------------
            % It contains first part of ephemeris parameters
            eph.IODE_sf2    = bin2dec(subframe(61:68));
            eph.C_rs        = twosComp2dec(subframe(69: 84)) * 2^(-5);
            eph.deltan      = ...
                twosComp2dec(subframe(91:106)) * 2^(-43) * gpsPi;
            eph.M_0         = ...
                twosComp2dec([subframe(107:114) subframe(121:144)]) ...
                * 2^(-31) * gpsPi;
            eph.C_uc        = twosComp2dec(subframe(151:166)) * 2^(-29);
            eph.e           = ...
                bin2dec([subframe(167:174) subframe(181:204)]) ...
                * 2^(-33);
            eph.C_us        = twosComp2dec(subframe(211:226)) * 2^(-29);
            eph.sqrtA       = ...
                bin2dec([subframe(227:234) subframe(241:264)]) ...
                * 2^(-19);
            eph.t_oe        = bin2dec(subframe(271:286)) * 2^4;

        case 3  %--- It is subframe 3 -------------------------------------
            % It contains second part of ephemeris parameters
            eph.C_ic        = twosComp2dec(subframe(61:76)) * 2^(-29);
            eph.omega_0     = ...
                twosComp2dec([subframe(77:84) subframe(91:114)]) ...
                * 2^(-31) * gpsPi;
            eph.C_is        = twosComp2dec(subframe(121:136)) * 2^(-29);
            eph.i_0         = ...
                twosComp2dec([subframe(137:144) subframe(151:174)]) ...
                * 2^(-31) * gpsPi;
            eph.C_rc        = twosComp2dec(subframe(181:196)) * 2^(-5);
            eph.omega       = ...
                twosComp2dec([subframe(197:204) subframe(211:234)]) ...
                * 2^(-31) * gpsPi;
            eph.omegaDot    = twosComp2dec(subframe(241:264)) * 2^(-43) * gpsPi;
            eph.IODE_sf3    = bin2dec(subframe(271:278));
            eph.iDot        = twosComp2dec(subframe(279:292)) * 2^(-43) * gpsPi;

        case 4  %--- It is subframe 4 -------------------------------------
            % Almanac, ionospheric model, UTC parameters.
            % SV health (PRN: 25-32).
            % Not decoded at the moment.

        case 5  %--- It is subframe 5 -------------------------------------
            % SV almanac and health (PRN: 1-24).
            % Almanac reference week number and time.
            % Not decoded at the moment.

    end % switch subframeID ...

end % for all 5 sub-frames ...

%% Compute the time of week (TOW) of the first sub-frames in the array ====
% Also correct the TOW. The transmitted TOW is actual TOW of the next
% subframe and we need the TOW of the first subframe in this data block
% (the variable subframe at this point contains bits of the last subframe). 
TOW = bin2dec(subframe(31:47)) * 6 - 30;

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲伊人伊色伊影伊综合网| 久久狠狠亚洲综合| 欧美成人精品3d动漫h| 在线免费观看成人短视频| 国产成人综合在线播放| 国产一二精品视频| 成人在线综合网站| 福利电影一区二区| 粉嫩蜜臀av国产精品网站| 国产成人在线免费| 风流少妇一区二区| 本田岬高潮一区二区三区| 99天天综合性| 欧美日韩色综合| 欧美久久久久久久久| 日韩欧美电影在线| 日韩欧美一级在线播放| 国产亚洲va综合人人澡精品| 国产欧美日本一区视频| 亚洲免费大片在线观看| 亚洲成人av资源| 久久精品免费看| 99在线视频精品| 欧美乱熟臀69xxxxxx| 久久久美女艺术照精彩视频福利播放| 国产欧美一区二区精品仙草咪| 中文字幕中文字幕在线一区 | 麻豆精品久久久| 国产精品99久久久久久似苏梦涵| 成人h版在线观看| 欧美日韩一区三区四区| 久久综合色之久久综合| 中文字幕一区在线| 午夜国产精品影院在线观看| 久久97超碰色| 在线观看成人小视频| 日韩美女视频一区二区在线观看| 欧美激情中文字幕| 午夜电影久久久| 欧美日韩你懂得| 国产网站一区二区三区| 亚洲国产cao| 国产成人综合在线| 欧美一卡2卡3卡4卡| 国产精品国产三级国产aⅴ无密码 国产精品国产三级国产aⅴ原创 | 色诱亚洲精品久久久久久| 欧美一区二区三区在线| 自拍偷自拍亚洲精品播放| 亚洲成人动漫av| 91在线小视频| 国产亚洲欧美一区在线观看| 午夜欧美电影在线观看| 成熟亚洲日本毛茸茸凸凹| 欧美变态凌虐bdsm| 午夜一区二区三区视频| 99久久亚洲一区二区三区青草| 精品女同一区二区| 亚洲高清免费一级二级三级| 91色.com| 中文字幕一区二区三区四区不卡| 国产一区二区三区免费观看| 欧美一区二区女人| 亚洲福利一区二区| 99国内精品久久| 国产精品国产三级国产普通话三级| 国产综合久久久久影院| 欧美日韩亚洲综合在线 欧美亚洲特黄一级| 国产欧美视频一区二区三区| 国产东北露脸精品视频| 精品福利一区二区三区免费视频| 全部av―极品视觉盛宴亚洲| 欧美天堂一区二区三区| 亚洲一区二区三区精品在线| 99国产精品久久久久久久久久| 久久久91精品国产一区二区精品| 国产在线精品国自产拍免费| 欧美日韩亚洲不卡| 偷偷要91色婷婷| 欧美日韩久久久久久| 夜夜嗨av一区二区三区| 91女厕偷拍女厕偷拍高清| 日韩理论片在线| 91老师片黄在线观看| 亚洲男人都懂的| 久久精品久久综合| 精品国产三级a在线观看| 麻豆视频观看网址久久| 精品欧美一区二区三区精品久久| 蜜桃一区二区三区四区| 精品国产乱码久久久久久蜜臀 | 久久久久久日产精品| 日韩极品在线观看| 日韩精品一区二区三区在线观看| 毛片不卡一区二区| 国产性做久久久久久| 91小宝寻花一区二区三区| www国产亚洲精品久久麻豆| 一区二区在线电影| 免费在线观看一区| 欧美大片一区二区| 国产精品久久久久婷婷二区次| 久久不见久久见免费视频7| 在线成人av影院| 国产精品一区免费视频| 日韩理论片一区二区| 精品视频一区二区三区免费| 麻豆成人91精品二区三区| 国产精品网站一区| 欧美唯美清纯偷拍| 国产一区视频网站| 国产精品高潮呻吟| 在线成人免费观看| 国产成人免费av在线| 亚洲永久精品国产| 久久青草欧美一区二区三区| 99精品视频在线免费观看| 日韩成人一区二区三区在线观看| 久久久久高清精品| 欧美日韩激情一区二区三区| 国产在线精品免费av| 亚洲中国最大av网站| 久久久亚洲高清| 在线视频亚洲一区| 国产麻豆精品视频| 午夜精品福利一区二区蜜股av| 久久久精品人体av艺术| 欧美日韩mp4| 波多野结衣中文字幕一区 | 9人人澡人人爽人人精品| 亚洲成a天堂v人片| 亚洲国产精品激情在线观看| 91精品国产综合久久久久久漫画| 成人爱爱电影网址| 久久激情综合网| 日韩不卡手机在线v区| 亚洲欧美国产高清| 国产婷婷一区二区| 欧美电影免费观看高清完整版在线观看| 不卡的av在线| 国产a级毛片一区| 国模少妇一区二区三区| 日韩不卡一区二区| 亚洲一区二区高清| 亚洲人成在线播放网站岛国| 2020国产精品久久精品美国| 在线成人av网站| 欧美三级欧美一级| 91亚洲精品久久久蜜桃网站| 岛国精品在线播放| 极品美女销魂一区二区三区免费| 午夜精品福利久久久| 亚洲国产wwwccc36天堂| 亚洲国产综合视频在线观看| 亚洲人成在线播放网站岛国| 成人免费在线播放视频| 中文字幕亚洲不卡| 国产精品无人区| 国产精品天美传媒沈樵| 国产精品美女久久久久久| 国产欧美日韩亚州综合| 国产欧美日韩视频在线观看| 中文字幕二三区不卡| 中文成人综合网| 中文字幕欧美一| 亚洲精品乱码久久久久| 夜夜嗨av一区二区三区网页| 午夜精品久久久久久久久久| 日韩国产欧美在线视频| 久久精品国产精品亚洲红杏| 精品系列免费在线观看| 高清免费成人av| 91麻豆自制传媒国产之光| 在线一区二区三区四区五区 | 精品乱人伦小说| 久久久久久久久免费| 亚洲国产精品成人综合色在线婷婷| 国产精品色婷婷| 亚洲一区二区三区四区在线免费观看| 亚洲综合丁香婷婷六月香| 亚洲成人资源在线| 蜜桃av一区二区| 成人一区二区视频| 91国偷自产一区二区三区观看 | 欧美mv和日韩mv国产网站| 国产肉丝袜一区二区| 亚洲三级在线看| 五月婷婷综合激情| 另类小说一区二区三区| 国产高清精品久久久久| 91丝袜美腿高跟国产极品老师| 欧美日韩高清一区二区不卡| 精品福利在线导航| 亚洲欧美福利一区二区| 秋霞电影网一区二区| 成人avav影音| 日韩欧美亚洲国产精品字幕久久久| 国产亚洲一区字幕| 亚洲国产精品尤物yw在线观看| 久久福利视频一区二区| 97久久精品人人做人人爽|