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

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

?? batch01.m

?? For Batch Estimation Method, the function and code supplyment.
?? M
字號:
%BATCH01.m
%------------------ Batch Processing ----------------------------- %
%    2006/12/10 made by vin --- 2007/11/1 change by Wilson 
clear all;  
close all
load obs.dat
load xy.dat
fp1=fopen('batch01.dat','w');
% ---------------- IC ------------------------------------------- %
% Estimate time 11~30
% Estimate [Xm,Ym,Vx,Vy,acx,acy,bd,Cd]
a=10;b=30;
time(:,1)=xy(a+1:b+1,1);
obs=obs(a+1:b+1,:);
xy=xy(a+1:b+1,:);
Xref0=xy(1,2:9);
Jprev=1;    % Assume Jprev is bigger than J in order to run first loop 
J=0;
inttimes=0;
while ((abs(sqrt(J)-sqrt(Jprev)))> 0.5)
   inttimes=inttimes+1;
%--------------------------------------------------------
  N=zeros(8,1); M=zeros(8,8); Fio=eye(8);
  W=[1 0 0; 0 1 0; 0 0 1];   % Three Obs - 3*3 matrix
  Xref=Xref0;
%--------X*  Reference Path Integration      -------------------%
  for T=1:1:size(obs,1)-1;    % number of data input
% ----------------------------------------------------------------- %
      [t,xref] = ode45('x_dot',[T T+1],Xref);  % State Int
      k = size(xref,1);
      Xref = xref(k,1:8) ;  
      for i=1:k-1              % STM Integration 
         A = [0,0,1,0,0,0,0,0;
              0,0,0,1,0,0,0,0;
              0,0,-xref(i,7)-2*xref(i,3)*xref(i,8),0,1,0,-xref(i,3),-xref(i,3)*xref(i,3);
              0,0,0,-xref(i,7)-2*xref(i,4)*xref(i,8),0,1,-xref(i,4),-xref(i,4)*xref(i,4);
              0,0,0,0,0,0,0,0 ;
              0,0,0,0,0,0,0,0 ;
              0,0,0,0,0,0,0,0 ;
              0,0,0,0,0,0,0,0 ];  
         dt=t(i+1)-t(i) ;
         Fio = expm(A*dt)*Fio ;  % Fi=Fi_to ti    %% Error state transition
       end
% ----------------------------------------------------------------- %
% Observation Fixed Station 
       Xf1=10;  Yf1=120;
       Xf2=120; Yf2=10;
       Xf3=60 ; Yf3=150;
%-----------Moving body start
       Xm=Xref(1);             % Reference Path Integration value
       Ym=Xref(2);          
       Lu1=sqrt((Xm-Xf1)^2+(Ym-Yf1)^2);
       Lu2=sqrt((Xm-Xf2)^2+(Ym-Yf2)^2);
       Lu3=sqrt((Xm-Xf3)^2+(Ym-Yf3)^2);
       G=[ sqrt((Xm-Xf1)^2+(Ym-Yf1)^2);
           sqrt((Xm-Xf2)^2+(Ym-Yf2)^2);
           sqrt((Xm-Xf3)^2+(Ym-Yf3)^2) ];
       Hh=[ (Xm-Xf1)/Lu1  (Ym-Yf1)/Lu1  0 0 0 0 0 0;
            (Xm-Xf2)/Lu2  (Ym-Yf2)/Lu2  0 0 0 0 0 0; 
            (Xm-Xf3)/Lu3  (Ym-Yf3)/Lu3  0 0 0 0 0 0];
       H = Hh*Fio;
       z= obs(T+1,2:4)'-G;
       zz(:,T+1)=z(:,1);
       Jprev = J;
       J = J + z'*W*z;
              if inttimes>=10;
           Jprev = J;
              end
       N = N + H'*W*z;
       M = M + H'*W*H;
  end       
% ----------------------------------------------------------------- %
  xh =inv(M)*N;
  Xref0=Xref0+xh' ;      % at t0 The Initialization
end
%---------- The lasted Integration-------------------------
Xe=Xref0;
out=[time(1,1) Xe];
fprintf(fp1,'%6.0f %8.4f %8.4f %8.4f %8.4f %8.4f %8.4f %8.4f %8.4f\n',out);
for T=1:1:size(obs,1)-1;    % number of data input
    [t,xe] = ode45('x_dot',[T T+1],Xe);
    k = size(xe,1);
    Xe= xe(k,1:8);                        %   Last estimate   
    out=[time(T+1,1) Xe];
    fprintf(fp1,'%6.0f %8.4f %8.4f %8.4f %8.4f %8.4f %8.4f %8.4f %8.4f\n',out);
end
fclose(fp1);
%----------------------- Plot ---------------------------------------- %
load batch01.dat
figure(1)
plot(batch01(:,2),batch01(:,3),'r:o',xy(:,2),xy(:,3),'b:*');
title(' X   v.s   Y ');
legend('Estimate','True');
xlabel(' X ');
ylabel(' Y ');

figure(2)
subplot(2,1,1);
plot(batch01(:,1),batch01(:,2),'r:o',batch01(:,1),xy(:,2),'b:*');
title('     X - Estimate VS. True    ');
xlabel(' time = 11 to 30  ');
ylabel(' X - distance ');
legend('Estimate','True');
subplot(2,1,2);
plot(batch01(:,1),batch01(:,2)-xy(:,2),'r:o');
title(' X - Difference ');
xlabel(' time = 11 to 30  ');
ylabel(' X - error ');
legend('error');

figure(3)
subplot(2,1,1);
plot(batch01(:,1),batch01(:,3),'r:o',batch01(:,1),xy(:,3),'b:*');
title('     Y - Estimate VS. True    ');
xlabel(' time = 11 to 30  ');
ylabel(' Y (Estimate VS. True) ');
legend('Estimate','True');
subplot(2,1,2);
plot(batch01(:,1),batch01(:,3)-xy(:,3),'r:o');
title(' Y - Difference ');
xlabel(' time = 11 to 30  ');
ylabel(' Y - erroe ');
legend('error');

figure(4)
subplot(2,1,1);
plot(batch01(:,1),batch01(:,4),'r:o',batch01(:,1),xy(:,4),'b:*');
title('     Vx - Estimate VS. True   ');
xlabel(' time = 11 to 30  ');
ylabel(' Vx (Estimate VS. True) ');
legend('Estimate','True');
subplot(2,1,2);
plot(batch01(:,1),batch01(:,4)-xy(:,4),'r:o');
title(' Vx - Difference ');
xlabel(' time = 11 to 30  ');
ylabel(' Vx - error ');
legend('error');


figure(5)
subplot(2,1,1);
plot(batch01(:,1),batch01(:,5),'r:o',batch01(:,1),xy(:,5),'b:*');
title('     Vy - Estimate VS. True    ');
xlabel(' time = 11 to 30  ');
ylabel(' Vy (Estimate VS. True) ');
legend('Estimate','True');
subplot(2,1,2);
plot(batch01(:,1),batch01(:,5)-xy(:,5),'r:o');
title(' Vy - Difference ');
xlabel(' time = 11 to 30  ');
ylabel(' Vy - error ');
legend('error');

figure(6)
subplot(2,1,1);
plot(batch01(:,1),batch01(:,6),'r:o',batch01(:,1),xy(:,6),'b:*');
title('     acx - Estimate VS. True    ');
xlabel(' time = 11 to 30  ');
ylabel(' acx (Estimate VS. True) ');
legend('Estimate','True');
subplot(2,1,2);
plot(batch01(:,1),batch01(:,6)-xy(:,6),'r:o');
title(' acx - Difference ');
xlabel(' time = 11 to 30  ');
ylabel(' acx - error ');
legend('error');

figure(7)
subplot(2,1,1);
plot(batch01(:,1),batch01(:,7),'r:o',batch01(:,1),xy(:,7),'b:*');
title(' acy - Estimate VS. True    ');
xlabel(' time = 11 to 30  ');
ylabel(' acy (Estimate VS. True) ');
legend('Estimate','True');
subplot(2,1,2);
plot(batch01(:,1),batch01(:,7)-xy(:,7),'r:o');
title(' acy - Difference ');
xlabel(' time = 11 to 30  ');
ylabel(' acy - error ');
legend('error');

figure(8)
subplot(2,1,1);
plot(batch01(:,1),batch01(:,8),'r:o',batch01(:,1),xy(:,8),'b:*');
title('     bd - Estimate VS. True   ');
xlabel(' time = 11 to 30  ');
ylabel(' bd (Estimate VS. True) ');
legend('Estimate','True');
subplot(2,1,2);
plot(batch01(:,1),batch01(:,8)-xy(:,8),'r:o');
title(' bd - Difference ');
xlabel(' time = 11 to 30  ');
ylabel(' bd - error ');
legend('error');

figure(9)
subplot(2,1,1);
plot(batch01(:,1),batch01(:,9),'r:o',batch01(:,1),xy(:,9),'b:*');
title('     Cd - Estimate VS. True  ');
xlabel(' time = 11 to 30  ');
ylabel(' Cd (Estimate VS. True) ');
legend('Estimate','True');
subplot(2,1,2);
plot(batch01(:,1),batch01(:,9)-xy(:,9),'r:o');
title(' Cd - Difference ');
xlabel(' time = 11 to 30  ');
ylabel(' Cd - error ');
legend('error');

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品灌醉下药二区| 成人性生交大片免费看在线播放| 亚洲精品国产无套在线观| 国产女人水真多18毛片18精品视频| 亚洲成人综合视频| 亚洲综合一区二区三区| 亚洲精品国产视频| 亚洲成人福利片| 日韩中文欧美在线| 青青草原综合久久大伊人精品优势 | 国产成人精品亚洲日本在线桃色| 精品一区二区三区视频在线观看| 久久99国产精品尤物| 精品一区二区三区免费观看| 狠狠色狠狠色合久久伊人| 国产成人精品免费视频网站| www.亚洲在线| 色久综合一二码| 欧美日韩一卡二卡| 日韩欧美国产综合| 久久嫩草精品久久久精品| 中文一区一区三区高中清不卡| 国产精品视频九色porn| 亚洲综合色网站| 美日韩一级片在线观看| 韩国v欧美v亚洲v日本v| 成人app下载| 中文字幕综合网| 亚洲免费观看高清完整版在线| 亚洲综合久久久| 亚洲午夜国产一区99re久久| 午夜精品免费在线观看| 蜜臀av国产精品久久久久| 国产九色sp调教91| av在线综合网| 欧美精品久久久久久久多人混战 | 国产乱对白刺激视频不卡| 成人福利视频在线| 欧美色欧美亚洲另类二区| 精品捆绑美女sm三区| 国产精品一区专区| 成人app在线观看| 678五月天丁香亚洲综合网| 久久理论电影网| 曰韩精品一区二区| 人人超碰91尤物精品国产| 国产精品综合二区| 91成人免费电影| 欧美成人午夜电影| 亚洲视频在线一区二区| 麻豆精品视频在线| 一本大道久久a久久精二百 | 亚洲一区精品在线| 久久疯狂做爰流白浆xx| 91在线小视频| 欧美tk丨vk视频| 一区二区三区四区五区视频在线观看| 日韩av中文字幕一区二区三区| 成人免费视频视频在线观看免费| 777午夜精品免费视频| 国产精品久久久久久福利一牛影视| 亚洲国产精品天堂| 懂色中文一区二区在线播放| 91精品国产综合久久福利软件 | 国产精品久久久久久久浪潮网站| 男人的天堂久久精品| 色婷婷综合激情| 国产欧美一区二区在线观看| 日韩av午夜在线观看| 91行情网站电视在线观看高清版| 久久这里都是精品| 在线精品视频一区二区三四| 久久免费电影网| 免费看欧美美女黄的网站| 色综合久久久久综合| 欧美经典一区二区| 国内精品在线播放| 日韩一区二区三区视频在线| 一级女性全黄久久生活片免费| 丁香激情综合五月| 久久综合网色—综合色88| 日韩精品每日更新| 欧美午夜免费电影| 亚洲女子a中天字幕| 丁香啪啪综合成人亚洲小说| 精品少妇一区二区三区视频免付费| 亚洲午夜免费电影| 色婷婷综合久久久中文一区二区 | 国产一二三精品| 欧美一区二区三区公司| 亚洲高清免费观看| 欧美综合亚洲图片综合区| 亚洲品质自拍视频| 白白色 亚洲乱淫| 中文字幕av不卡| 国产 欧美在线| 国产日产欧产精品推荐色| 国产乱码精品1区2区3区| 精品乱人伦小说| 精品一区二区久久| 精品日韩在线观看| 加勒比av一区二区| 精品国产伦理网| 国内偷窥港台综合视频在线播放| 精品国产免费人成电影在线观看四季 | 一区二区三区小说| 欧美性受xxxx| 午夜精品久久久久久久久| 欧美日韩高清一区| 欧美bbbbb| 精品日韩欧美一区二区| 国产精品自拍毛片| 国产欧美日韩三级| 99久久精品情趣| 悠悠色在线精品| 欧洲中文字幕精品| 丝袜美腿一区二区三区| 777奇米成人网| 免费视频最近日韩| 久久无码av三级| 波多野结衣在线一区| 亚洲三级免费观看| 欧美精品成人一区二区三区四区| 日本中文字幕一区| 久久精品欧美日韩精品| 97久久久精品综合88久久| 亚洲精品国产精华液| 欧美精品v国产精品v日韩精品| 久久激情五月婷婷| 久久久五月婷婷| 91网站最新地址| 五月激情综合色| 久久亚洲一区二区三区明星换脸| 国产aⅴ精品一区二区三区色成熟| 国产精品色哟哟| 精品视频色一区| 国产一区美女在线| 亚洲欧洲av色图| 欧美乱妇23p| 国产激情精品久久久第一区二区| 中文字幕制服丝袜一区二区三区| 欧美日韩免费观看一区三区| 激情五月激情综合网| 亚洲人成网站色在线观看| 777午夜精品免费视频| 国产99精品在线观看| 亚洲国产一区视频| 久久色在线观看| 欧美在线观看视频在线| 久久不见久久见免费视频1| 国产精品伦理一区二区| 在线不卡免费欧美| 99久久综合99久久综合网站| 午夜亚洲福利老司机| 久久久国产一区二区三区四区小说 | 色综合久久综合网97色综合| 免费在线观看精品| 亚洲视频一区在线| 亚洲精品在线观| 91国偷自产一区二区三区观看| 黄网站免费久久| 亚洲综合区在线| 国产校园另类小说区| 欧美日韩成人激情| 成人动漫视频在线| 美女久久久精品| 亚洲国产欧美一区二区三区丁香婷| 国产午夜精品久久| 欧美一区二区三区四区视频| 日本福利一区二区| 国产盗摄精品一区二区三区在线| 偷拍自拍另类欧美| 亚洲精品自拍动漫在线| 久久精品欧美日韩| 日韩欧美色综合网站| 欧美性感一类影片在线播放| 成人黄色在线看| 国内精品写真在线观看| 亚洲aⅴ怡春院| 一区二区三区中文字幕在线观看| 国产欧美日本一区视频| 26uuu色噜噜精品一区| 6080午夜不卡| 欧美日韩国产免费| 色哟哟欧美精品| 高清beeg欧美| 国产高清精品在线| 国产一区二区三区在线观看免费视频| 日韩成人av影视| 午夜电影久久久| 亚洲成人精品一区二区| 亚洲在线观看免费| 亚洲美女视频一区| 亚洲欧美日韩国产综合| 国产精品毛片无遮挡高清| 久久精品视频一区二区三区| 欧美大白屁股肥臀xxxxxx| 91精品国产色综合久久不卡电影| 欧美猛男超大videosgay| 在线免费观看视频一区|