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

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

?? 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一区二区三区免费野_久草精品视频
99国产精品国产精品毛片| 亚洲欧洲av色图| 中文字幕一区三区| 日本亚洲最大的色成网站www| 国产成人综合网站| 欧美三电影在线| 亚洲成人你懂的| 国产日韩欧美a| 亚洲国产一二三| 成人av集中营| 中文字幕成人在线观看| 国产在线视频一区二区三区| 亚洲成在线观看| 中文字幕一区二区三区乱码在线| 久久精品亚洲麻豆av一区二区 | 日韩av不卡一区二区| 亚瑟在线精品视频| 日韩欧美一区二区久久婷婷| 一级中文字幕一区二区| 国产一区二区免费看| 91精品麻豆日日躁夜夜躁| 免费成人美女在线观看| 欧美变态凌虐bdsm| 国产又黄又大久久| 亚洲精品免费在线| 欧美videos中文字幕| 99re66热这里只有精品3直播| 最好看的中文字幕久久| 欧美人妇做爰xxxⅹ性高电影| 国产精品一区二区不卡| 中文字幕精品—区二区四季| 成人综合日日夜夜| 亚洲最大色网站| 国产sm精品调教视频网站| 日韩精品亚洲专区| 日韩久久久精品| 久久99国产精品久久99果冻传媒 | 欧美一区二区三区免费视频| 福利一区二区在线观看| 精品制服美女久久| 色婷婷精品大在线视频| 精品亚洲成a人在线观看| 另类小说欧美激情| 日韩电影在线一区二区| 亚洲精品国久久99热| 中文字幕高清一区| 精品久久久久久久人人人人传媒| 一本大道久久a久久精品综合| 青青草一区二区三区| 亚洲国产精品黑人久久久| 91福利在线播放| 91在线视频免费91| 91香蕉视频mp4| 色婷婷香蕉在线一区二区| 色综合欧美在线| 欧美日韩高清在线播放| 欧美日本韩国一区二区三区视频 | 亚洲444eee在线观看| 亚洲色图清纯唯美| 日本一区二区三区四区| 久久亚洲一级片| 国产精品你懂的在线欣赏| 欧美日韩一区二区三区免费看| 欧美在线一二三四区| 久久精品av麻豆的观看方式| 国产欧美日产一区| 欧美亚洲动漫精品| 成人黄色在线视频| 国产精品中文欧美| 日韩成人免费电影| 亚洲尤物在线视频观看| 中国av一区二区三区| 日韩欧美国产一区二区三区| 欧美日韩精品系列| 在线观看一区日韩| 97精品超碰一区二区三区| 国产一二三精品| 黄一区二区三区| 久久国产剧场电影| 欧美一区二区三区四区五区| 欧美私人免费视频| 欧美一区午夜精品| 欧美成人国产一区二区| 日韩午夜三级在线| 欧美妇女性影城| 欧美日韩精品欧美日韩精品一综合| 北岛玲一区二区三区四区| 95精品视频在线| 91精品久久久久久久99蜜桃 | 中文字幕一区二区三区色视频| 精品久久一二三区| 日韩一区日韩二区| 午夜成人在线视频| 1024国产精品| 天天综合网天天综合色| 成人a区在线观看| 欧美一区二区在线观看| 亚洲精品一线二线三线| 最好看的中文字幕久久| 日韩av电影免费观看高清完整版| 国产自产视频一区二区三区| 在线观看日韩毛片| 精品国产乱码久久久久久影片| 亚洲精品欧美专区| 免费成人你懂的| 91毛片在线观看| 日韩免费在线观看| 不卡一卡二卡三乱码免费网站| 91精品欧美久久久久久动漫| 国产精品三级av在线播放| 久久草av在线| 欧美电影免费提供在线观看| 亚洲va在线va天堂| 久久精品国产精品亚洲综合| 国产精品正在播放| 日韩精品专区在线| 蜜臀av性久久久久蜜臀aⅴ四虎 | 国产一区欧美日韩| 精品粉嫩aⅴ一区二区三区四区| 国产精品国产精品国产专区不蜜| 亚洲国产成人va在线观看天堂| 91网上在线视频| 亚洲四区在线观看| 在线看日本不卡| 一区二区三区欧美激情| 欧美亚洲免费在线一区| 久久久久久麻豆| 日韩**一区毛片| 日韩精品一区在线观看| 久久精工是国产品牌吗| 色哟哟一区二区| 日本va欧美va精品| 777久久久精品| 久久av中文字幕片| 中文字幕免费一区| 91国偷自产一区二区开放时间| 国产精品国产成人国产三级| 91老师国产黑色丝袜在线| 亚洲一区二区三区三| 91美女在线观看| 久久久久国产精品人| 91精品啪在线观看国产60岁| 成人免费不卡视频| ㊣最新国产の精品bt伙计久久| 久久久久久一级片| 日韩欧美中文一区二区| 色综合一区二区三区| 日韩精品一二三| 蜜桃av噜噜一区| 午夜精品久久久久久久久久| 香蕉加勒比综合久久| 亚洲成人动漫一区| 日韩国产高清影视| 石原莉奈在线亚洲二区| 亚洲天堂av一区| 亚洲午夜电影网| 日本免费新一区视频| 日本不卡视频在线| 国产河南妇女毛片精品久久久 | 精品国产91久久久久久久妲己| 欧美大片一区二区三区| 中文字幕在线不卡一区| 一片黄亚洲嫩模| 久久精品国产亚洲a| 成人黄色片在线观看| 中文字幕佐山爱一区二区免费| 无码av免费一区二区三区试看 | 日av在线不卡| 狠狠色丁香久久婷婷综合_中 | 风间由美一区二区三区在线观看 | 美国三级日本三级久久99| 久久麻豆一区二区| 精品88久久久久88久久久| 91精品国产黑色紧身裤美女| 欧美va日韩va| 日韩国产欧美一区二区三区| 日韩高清一区二区| 成人激情小说网站| 久久一区二区三区国产精品| 欧美激情资源网| 亚洲国产精品一区二区久久恐怖片| 国内精品免费在线观看| 精品嫩草影院久久| 亚洲国产成人porn| 成人精品视频.| 日韩三级免费观看| 午夜电影一区二区三区| 欧美网站一区二区| 亚洲一二三四久久| 欧美中文字幕久久| 亚洲成人综合在线| 色老汉av一区二区三区| 国产午夜精品福利| 国产精品一区二区x88av| 国产精品午夜电影| 国产高清一区日本| 国产精品三级久久久久三级| 成人avav在线| 亚洲美女屁股眼交3| 狠狠色综合色综合网络|