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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? in3_out2.m

?? Tensor MIMO system simulation using MATLAB.
?? M
?? 第 1 頁 / 共 3 頁
字號:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%                                     In3_Out2.m                                     %%%
%%%                                                                                    %%%
%%%  This program is the implementation of the tensor decomposition based blind MIMO   %%%
%%%  system identification algorithm with 3-input 2-ouput.                             %%%
%%%                                                                                    %%%
%%%  This code is for the following CISS'2001 paper.                                   %%%
%%%  Binning Chen, Athina P. Petropulu and Lieven De Lathauwer, ``Blind Identification %%%
%%%  of Convolutive MIMO System with 3 Sources and 2 Sensors ," {\it 35th Annual       %%%
%%%  Conf. on Information Sciences and Systems, CISS'2001}, The Johns Hopkins          %%%
%%%  University, Baltimore, Maryland, USA. March 2001.                                 %%%
%%%                                                                                    %%%
%%%  Designed by Binning Chen on January 28, 2001.                                     %%%
%%%                                                                                    %%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Program_Start=clock;

MODIFY_Hest_Magnitude_by_Smoothing=0

MODIFY_Hest_at_DC_Freq=1

UsingCrossCumulantStructure=1

Using_DeLathauwer_ALS_method=0

ALS_Method_index=1

USING_cum_true=1

Using_Pw_true=1

global VECTEURSNOYAU
global POLYNOMECIRCULAIRE

USING_LievenDeLathauwer_Equation=1

DEBUG=0

LIMIT_HESTP_MAGNITUDE=1

WSIZE=20
STDEV=1.07
Hest_MAX=5

Using_C_31=1   % Else using C^{40}

m=2    %%% Number of Outputs
n=3    %%% Number of Inputs

N=1024*4
seg_length = 1024*1;            %%% Segment length used in estimating the cross cumulants
seg_num=N/seg_length;           %%% Number of segments

CL=5
R_LENGTH=CL-1;
C_LENGTH=CL-1;

Roots_Amplitude=0.9

Pw_symmetry=1

ADD_WINDOW=0
ADD_POLYSPECTRA_WINDOW=0

NF=128;

RUN_TIMES=1

%%% For the constant permutation purpose
l_index=1,
Ref_Freq=1

%%% For the phase ambiguity recovery
k_arfa=1  %% correspond to C_{l_1 l_2}(-w, w+k_arfa, w3)
l_1=1;
l_2=1;
w3=1;
A1=hosmatrix(NF, k_arfa);
A1=inv(A1);

%%% For time domain impulse response estimation using ifft
Limit_Delay_time=1


if 0    %% Design the system impulse response matrix h(t,i,j)
   for ii=1:m
      for jj=1:n
         Zeros = roots(2*rand(1,CL)-1);
         Zeros = Roots_Amplitude*tanh(abs(Zeros)) .* exp(j*angle(Zeros));
         h(:,ii,jj)=real((poly(Zeros)));
      end
   end
end


if 1 %%% Very good example for 2x3 case, March 13, 2001, CISS'2001
h(:,1,1) = [ 1.0000   -1.0191   -1.5532    1.5117   -0.7217];
h(:,1,2) = [ 1.0000    2.2149    1.0828   -1.1731   -0.8069];
h(:,1,3) = [ 1.0000   -1.5537   -0.0363    0.5847    0.5093];
h(:,2,1) = [ 1.0000   -0.6879   -0.8976   -0.6126   -0.1318];
h(:,2,2) = [ 1.0000   -0.7137   -1.5079    1.6471   -1.2443];
h(:,2,3) = [ 1.0000    2.1911    1.7313   -0.1818   -0.2214];
end


HH = shiftdim(fft(h,NF,1),1); %%% The MIMO system transfer function, m x n x NF.
Phase_true=angle(HH);           %%% The true phase of the MIMO system

%%% For the constant permutation purpose
[H_dummy H_order_i]=sort(reshape(abs(HH(l_index,:,Ref_Freq)),n,1));
H_order(H_order_i)=1:n;

%GAMMA=-1.2;                 %%% The Fourth order cumulant of the uniform distributed real white noise
%GAMMA=-1.2;                 %%% The Fourth order cumulant of the uniform distributed complex white noise
%GAMMA=-2;                   %%% The Fourth order cumulant of the uniform distributed BPSK (2 PAM)signal
%GAMMA=-1;                    %%% The Fourth order cumulant of the uniform distributed 4-QAM signal
GAMMA=6;                    %%% The Fourth order cumulant of the exponential distributed white noise.
%GAMMA=3;                    %%% The Fourth order cumulant of the double-side exponential distributed white noise.


H_roots=zeros(NF, 3);
L_roots=zeros(NF, 3);
H2_roots=zeros(NF, 3);
L2_roots=zeros(NF, 3);

Q1_roots=zeros(NF, 3);
Q2_roots=zeros(NF, 3);
Q3_roots=zeros(NF, 3);
Q4_roots=zeros(NF, 3);

L_roots_his=zeros(NF, 3, RUN_TIMES);
L2_roots_his=zeros(NF, 3, RUN_TIMES);

Q1_roots_his=zeros(NF, 3, RUN_TIMES);
Q2_roots_his=zeros(NF, 3, RUN_TIMES);
Q3_roots_his=zeros(NF, 3, RUN_TIMES);
Q4_roots_his=zeros(NF, 3, RUN_TIMES);


for run=1:RUN_TIMES
   
   rand('state',sum(137*clock));
   
   %s = rand(n,N);             %%% uniformly distributed real signal
   s = -log(rand(n,N));      %%% Single side Exponential distributed real signal
   
   %s = rand(n,N);
   %s = s-(mean(s'))'*ones(1,N);
   %s = -log(rand(n,N)).*sign(s); %%% Double-side Exponential distributed real signal
   
   s = s-(mean(s'))'*ones(1,N);
   s=diag(1./std(s,0,2))*s;  %%% Input Signal
   x = zeros(m,N);       %%% Observed mixture , received signal
   for ii=1:m
      for jj=1:n
         x(ii,:) = x(ii,:) + filter(h(:,ii,jj),1,s(jj,:));
      end               
   end
   x = x-(mean(x'))'*ones(1,N);
   
   
   %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
   %%%    Cumulant and spectra estimation begin here
   %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
   for ii=1:m
      for jj=1:m
         for kk=1:m
            for ll=1:m
               ii,jj,kk,ll;
               
               cum_true=zeros(2*C_LENGTH+1, 2*C_LENGTH+1, 2*C_LENGTH+1);
               for mm=1:n
                  cum_true = cum_true + true_cum4_3D(h(:,ii,mm),h(:,jj,mm),h(:,kk,mm),h(:,ll,mm),C_LENGTH);
               end
               
               if ~USING_cum_true
                  cum = g_cc4_3D(x(ii,:),x(jj,:),x(kk,:),x(ll,:),C_LENGTH);
                  
                  if UsingCrossCumulantStructure
                     NonZeroCumIndex=zeros(size(cum_true));
                     NonZeroCumIndex(find(cum_true))=1;
                     cum = cum .* NonZeroCumIndex;
                  end
                  
                  cum_all(:,:,:,ii,jj,kk,ll)=cum;
               end
               
               cum_true_all(:,:,:,ii,jj,kk,ll)=cum_true;
               
               if USING_cum_true
                  cw = g_TriSpec_www_slice(cum_true,C_LENGTH,NF,ADD_POLYSPECTRA_WINDOW);
               else
                  cw = g_TriSpec_www_slice(cum,C_LENGTH,NF,ADD_POLYSPECTRA_WINDOW);
               end
               
               %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
               %%%
               %%%                        ATTENTION HERE !!!
               %%%
               %%%    Since the MIMO identification algorithm requires that the tensor
               %%%    Tw_31=H o H o H o H3
               %%%    By the cumulant estimation, we can get a tensor
               %%%          H3 o H o H o H
               %%%    To make these two tensors the same for the purpose of MIMO
               %%%    Identification, we here using Tw_31(ll,jj,kk,ii,:) instead of
               %%%                            using Tw_31(ii,jj,kk,ll,:).
               %%%
               %%%    April 4, 2001. By Binning Chen.
               %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
               Tw_31(ll,jj,kk,ii,:)=cw;
               
               if USING_cum_true
                  cw = g_TriSpec_ww1w_slice(cum_true,C_LENGTH,NF,ADD_POLYSPECTRA_WINDOW);
               else
                  cw = g_TriSpec_ww1w_slice(cum,C_LENGTH,NF,ADD_POLYSPECTRA_WINDOW);
               end
               
               %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
               %%%
               %%%                        ATTENTION HERE !!!
               %%%
               %%%    Since the MIMO identification algorithm requires that the tensor
               %%%    Tw_22=H o H o conj(H) o conj(H)
               %%%    By the cumulant estimation, we can get a tensor
               %%%          conj(H) o H o H o conj(H)
               %%%    To make these two tensors the same for the purpose of MIMO
               %%%    Identification, we here using Tw_31(kk,jj,ii,ll,:) instead of
               %%%                            using Tw_31(ii,jj,kk,ll,:).
               %%%
               %%%    April 4, 2001. By Binning Chen.
               %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
               Tw_22(kk,jj,ii,ll,:)=cw;
               
            end
         end
      end
   end
   
   SUM_ABS_cum_true_all=sum(sum(sum(sum(sum(sum(sum(abs(cum_true_all))))))))
   SUM_ABS_cum_all_error=sum(sum(sum(sum(sum(sum(sum(abs(cum_true_all-cum_true_all/GAMMA))))))))
   
   %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
   %%%    Cumulant and spectra estimation ENDS here
   %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
   
   
   for w=1:NF
      
      w
      
      H=HH(:,:,w);
      
      if USING_LievenDeLathauwer_Equation
         %%% Lieven De Lathauwer's Equation
         C_31(1,:)=[Tw_31(1,1,1,1,w), Tw_31(2,1,1,1,w), Tw_31(2,2,1,1,w), Tw_31(2,2,2,1,w)]; 
         C_31(2,:)=[Tw_31(1,1,1,2,w), Tw_31(1,1,2,2,w), Tw_31(1,2,2,2,w), Tw_31(2,2,2,2,w)]; 
      else
         %%% Pierre Comon's Equation, It is wrong here.
         C_31(1,:)=[T_31_true(1,1,1,1), T_31_true(1,1,1,2), T_31_true(1,1,2,2), T_31_true(1,2,2,2)]; 
         C_31(2,:)=[T_31_true(1,1,1,2), T_31_true(1,1,2,2), T_31_true(1,2,2,2), T_31_true(2,2,2,2)]; 
      end
      
      T_22_true=Tw_22(:,:,:,:,w);
      
      
      %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
      %%% Comon's code begin here 1
      %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
      
      M=C_31;
      
      V=null(M);v1=V(:,1);v2=V(:,2);
      VECTEURSNOYAU=[v1 v2];
      
      %%% CUMULANTS CIRCULAIRES
      % Cumulant des observations (Complexe Circulaire)
      
      TC = T_22_true;   %%%% TC is actually the C_22 here, we keep using TC, because comon used it.
      TC1111=TC(1,1,1,1);TC1112=TC(1,1,1,2);TC1122=TC(1,1,2,2);
      TC1221=TC(1,2,2,1);TC1222=TC(1,2,2,2);TC2222=TC(2,2,2,2);
      
      % polynome reel associe a TC (en dim double: 4 variables)
      PC=pzz2pX(TC1111,TC1112,TC1122,TC1221,TC1222,TC2222);  
      POLYNOMECIRCULAIRE=PC;
      % PC est de taille 35=nombre de monomes de degre 4 en 4 variables
      
      %%% RECHERCHE DE LA COMBINAISON OPTIMALE
      smin=[];theta0=0;phi0=0;
      
      %X=fmins('objectif',[theta0,phi0]);
      Optim_OPTIONS=optimset('MaxFunEvals', 2000);
      X=fminunc('objectif',[theta0,phi0],Optim_OPTIONS);
      
      
      %%%% PRESENTATION DU RESULTAT
      u=v1*cos(X(1))+v2*sin(X(1))*exp(i*X(2));
      if abs(u(1))<2*eps, 
         q=roots(u(2:n));
         L=[1 q(:).';0 ones(1,2)];
      else 
         q=roots(u); 
         L=[q(:).';ones(1,3)]; 
      end;
      
      %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
      %%% Comon's code END here 1
      %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
      
      %%% The system trasnfer function H(w) is
      %%% /                                  \
      %%% | L_roots(1) L_roots(2) L_roots(3) |
      %%% |     1         1           1      |
      %%% \                                  /
      
      %%% Note: The following Hroots and Lroots are actually the minus roots.
      [Hroots Hroots_index(w,:)]=sort(H(1,:)./H(2,:));
      [Lroots Hroots_index(w,:)]=sort(L(1,:));
      %Hroots,Lroots;
      H_roots(w,:)=Hroots;
      L_roots(w,:)=Lroots;
      
      %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
      %%% Comon's code begin here 2
      %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
      
      M2=C_31(:,4:-1:1);
      
      V=null(M2);v1=V(:,1);v2=V(:,2);
      VECTEURSNOYAU=[v1 v2];
      
      %%% CUMULANTS CIRCULAIRES

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久精品人人爽人人爽| 午夜欧美一区二区三区在线播放| 亚洲天堂成人网| 麻豆freexxxx性91精品| 99re热视频精品| 日韩精品一区二区三区视频| 亚洲乱码国产乱码精品精98午夜| 狠狠色丁香婷婷综合| 欧美美女直播网站| 亚洲精品中文字幕乱码三区| 捆绑变态av一区二区三区| 91丝袜美腿高跟国产极品老师| 日韩欧美中文一区二区| 亚洲va在线va天堂| 色拍拍在线精品视频8848| 精品国产凹凸成av人网站| 天堂午夜影视日韩欧美一区二区| 91视视频在线观看入口直接观看www | 国产精品99久久不卡二区| 欧美一卡二卡三卡四卡| 亚洲福利视频一区二区| 91猫先生在线| 亚洲欧洲综合另类在线| 成年人国产精品| 久久精品一区二区三区不卡牛牛| 久久精品国产**网站演员| 欧美日韩国产乱码电影| 亚洲线精品一区二区三区| 91在线无精精品入口| 中文字幕亚洲不卡| 成人高清伦理免费影院在线观看| 久久久久久久精| 国产精品1区2区3区| 国产欧美一区二区精品性| 国内精品久久久久影院一蜜桃| 日韩三级精品电影久久久| 日韩黄色免费网站| 欧美一卡二卡三卡四卡| 另类小说欧美激情| 91麻豆精品国产91久久久| 日韩激情av在线| 精品国产一区二区亚洲人成毛片| 久久99精品国产91久久来源| 精品卡一卡二卡三卡四在线| 国产精品一区二区久久不卡| 国产欧美日韩不卡免费| caoporen国产精品视频| 亚洲人精品午夜| 欧美三级韩国三级日本一级| 美女一区二区在线观看| www成人在线观看| 成人动漫av在线| 亚洲最色的网站| 日韩一区二区免费高清| 国产精品一区二区无线| 亚洲视频在线观看一区| 欧美体内she精高潮| 精品一区二区三区不卡| 国产精品黄色在线观看| 欧美亚洲免费在线一区| 紧缚捆绑精品一区二区| 国产精品嫩草99a| 欧美日韩国产在线观看| 韩国在线一区二区| 洋洋成人永久网站入口| 日韩精品中文字幕在线一区| 成人国产免费视频| 亚洲地区一二三色| 欧美国产一区二区| 欧美日韩一区二区不卡| 国产激情视频一区二区三区欧美| 亚洲女同ⅹxx女同tv| 日韩欧美中文字幕一区| 97久久精品人人澡人人爽| 捆绑变态av一区二区三区| 亚洲天堂av一区| 亚洲精品一区二区三区香蕉| 91久久人澡人人添人人爽欧美| 韩国在线一区二区| 午夜视频在线观看一区二区| 国产农村妇女精品| 欧美一区二区三区免费| 99久久婷婷国产综合精品电影| 日韩高清一区在线| 亚洲欧美aⅴ...| 国产亚洲福利社区一区| 日韩手机在线导航| 在线国产亚洲欧美| 成人av电影观看| 蜜桃视频免费观看一区| 尤物视频一区二区| 国产精品女人毛片| 26uuu国产日韩综合| 欧美男生操女生| 欧洲亚洲精品在线| 国产一区二区三区在线观看精品| 亚洲线精品一区二区三区八戒| 国产精品福利一区二区三区| 久久午夜免费电影| 日韩欧美国产综合在线一区二区三区| 欧美性生活影院| 色婷婷综合五月| 91麻豆福利精品推荐| 高清不卡在线观看| 国产福利精品导航| 国产伦精品一区二区三区免费 | 欧美精品亚洲二区| 一本大道久久a久久综合婷婷| 成人小视频在线| 顶级嫩模精品视频在线看| 国产一区二区三区久久久| 青青草成人在线观看| 日韩不卡一二三区| 爽好久久久欧美精品| 五月天婷婷综合| 亚洲成人免费av| 奇米影视在线99精品| 日本成人在线视频网站| 蜜桃久久精品一区二区| 美女免费视频一区二区| 精一区二区三区| 国产原创一区二区三区| 国产高清一区日本| 春色校园综合激情亚洲| 91浏览器入口在线观看| 色综合久久久久久久久| 成人美女视频在线观看18| 99精品视频一区| 在线观看视频91| 91精品久久久久久久99蜜桃| 欧美一区二区三区啪啪| 国产日本欧美一区二区| 国产精品进线69影院| 亚洲精品精品亚洲| 亚洲电影一区二区| 韩国女主播一区二区三区| 成人av在线影院| 欧美丝袜自拍制服另类| 精品日韩欧美在线| 中文字幕不卡在线| 亚洲成人av一区二区三区| 韩国av一区二区三区四区| 国产99久久久国产精品免费看| 色综合久久综合| 日韩免费电影一区| 亚洲视频网在线直播| 蜜桃av一区二区在线观看 | 久久久久久综合| 亚洲女厕所小便bbb| 日韩激情中文字幕| 成人久久久精品乱码一区二区三区 | 午夜日韩在线电影| 国产69精品久久久久777| 在线视频你懂得一区二区三区| 日韩一区二区免费高清| 中文字幕日本乱码精品影院| 日韩高清不卡在线| www.日韩在线| 日韩一级免费一区| 亚洲色欲色欲www在线观看| 免费成人小视频| 91免费小视频| 精品精品国产高清一毛片一天堂| 亚洲欧美日韩一区二区| 国产制服丝袜一区| 欧美日韩国产综合草草| 1024国产精品| 国产老妇另类xxxxx| 精品视频一区三区九区| 国产精品免费丝袜| 激情小说亚洲一区| 91精品国产综合久久久久久久| 中文字幕一区二区三区精华液| 麻豆精品新av中文字幕| 欧美无乱码久久久免费午夜一区| 久久伊人蜜桃av一区二区| 视频在线在亚洲| 色综合色狠狠天天综合色| 中文在线免费一区三区高中清不卡| 日韩国产欧美视频| 欧美伊人久久久久久久久影院 | 精品国产凹凸成av人网站| 亚洲v精品v日韩v欧美v专区| 色婷婷精品大视频在线蜜桃视频| 久久免费午夜影院| 精品制服美女丁香| 欧美一卡二卡三卡| 日韩国产欧美在线观看| 欧美顶级少妇做爰| 午夜成人免费电影| 欧美精选在线播放| 午夜激情一区二区| 欧美在线你懂得| 亚洲激情图片一区| 欧美影片第一页| 天天av天天翘天天综合网色鬼国产| 一本久久a久久免费精品不卡| 一色桃子久久精品亚洲| 99精品热视频| 亚洲女爱视频在线|