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

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

?? acdc_sym.m

?? this directory contains the following: * The acdc algorithm for finding the approximate general
?? M
字號:
function [A,Lam,Nit,Cls]=...
    acdc_sym(M,w,A0,Lam0);

%acdc_sym: appoximate joint diagonalization
%(in the direct Least-Squares sense) of 
%a set of symmetric matrices, using the
%iterative AC-DC algorithm.
%
%the basic call:
%[A,Lam]=acdc(M);
%
%Inputs:
%
%M(N,N,K) - the input set of K NxN 
%           "target matrices". Note that
%           all matrices must be 
%           symmetric (but need not be 
%           positive-definite).
%
%Outputs:
%
%A(N,N)   - the diagonalizing matrix.
%
%Lam(N,K) - the diagonal values of the K
%           diagonal matrices.
%
%The algorithm finds an NxN matrix A and
%K diagonal matrices
%         L(:,:,k)=diag(Lam(:,k))
%such that
% C_{LS}=
% \sum_k\|M(:,:,k)-A*L(:,:,k)*A'\|_F^2
%is minimized.
%
%-----------------------------------------
%   Optional additional input/output
%   parameters:
%-----------------------------------------
%
%[A,Lam,Nit,Cls]=
%	acdc(M,w,A0,Lam0);
%
%(additional) Inputs:
%
%w(K) - a set of positive weights such that
%       C_{LS}=
%       \sum_k\w(k)|M(:,:,k)-A*L(:,:,k)*A'\|_F^2
%       Default: w=ones(K,1);
%
%A0 - an initial guess for A
%     default: eye(N);
%
%Lam0 - an initial guess for the values of
%       Lam. If specified, an AC phase is
%       run first; otherwise, a DC phase is
%       run first.
%
%(additional) Outputs:
%
%Nit - number of full iterations
%
%Cls - vector of Nit Cls values
%
%-----------------------------------------
% Additional fixed processing parameters
%-----------------------------------------
%
%TOL - a tolerance value on the change of
%      C_{LS}. AC-DC stops when the
%      decrease of C_{LS} is below tol.
%      Originally set to:
%            10^-3/(N*N*sum(w));
%
%MAXIT - maximum number of allowed full
%        iterations.
%        Originally set to: 50;
%
%INTLC - number of AC sweeps to interlace
%        dc sweeps.
%        Originally set to: 1.
%
%-----------------------------------------
%
%Note that the implementation here is
%somewhat wasteful (computationally),
%mainly in performing a full eigenvalue
%decomposition at each AC iteration, 
%where in fact only the largest eigenvalue
%(and associated eigenvector) are needed,
%and could be extracted e.g. using the 
%power method. However, for small N (<10),
%the matlab eig function runs faster than
%the power method, so we stick to it.

%-----------------------------------------
%version R1.0, June 2000.
%By Arie Yeredor  arie@eng.tau.ac.il
%
%rev. R1.1, December 2001
%forced s=real(diag(S)) rather than just s=diag(S)
%in the AC phase. S is always real anyway; however,
%it may be set to a complex number with a zero 
%imaginary part, in which case the following
%max operation yields the max abs value, rather
%than the true max. This fixes that problem. -AY
%
%Permission is granted to use and 
%distribute this code unaltered. You may 
%also alter it for your own needs, but you
%may not distribute the altered code 
%without obtaining the author's explicit
%consent.
%comments, bug reports, questions 
%and suggestions are welcome.
%
%References:
%[1] Yeredor, A., Approximate Joint 
%Diagonalization Using Non-Orthogonal
%Matrices, Proceedings of ICA2000, 
%pp.33-38, Helsinki, June 2000.
%[2] Yeredor, A., Non-Orthogonal Joint 
%Diagonalization in the Least-Squares 
%Sense with Application in Blind Source
%Separation, IEEE Trans. On Signal Processing,
%vol. 50 no. 7 pp. 1545-1553, July 2002.


[N N1 K]=size(M);
if N~=N1
    error('input matrices must be square');
end
if K<2
    error('at least two input matrices are required');
end

if exist('w','var') & ~isempty(w)
    w=w(:);
    if length(w)~=K
        error('length of w must equal K')
    end   
    if any(w<0)
        error('all weights must be positive');
    end
else
    w=ones(K,1);
end

if exist('A0','var') & ~isempty(A0)
    [NA0,Nc]=size(A0);
    if NA0~=N
        error('A0 must have the same number of rows as the target matrices')
    end
else
    A0=eye(N);
    Nc=N;
end

if exist('Lam0','var') & ~isempty(Lam0)
    [NL0,KL0]=size(Lam0);
    if NL0~=Nc
        error('each vector in Lam0 must have M elements')
    end
    if KL0~=K
        error('Lam0 must have K vectors')
    end
    skipAC=0;
else
    skipAC=1;
end

%-----------------------------------------
%  here's where the fixed processing-
%  parameters are set (and may be 
%  modified):
%-----------------------------------------
TOL=1e-3/(N*N*sum(w));
MAXIT=500;
INTLC=1;

%-----------------------------------------
%  and this is where we start working
%-----------------------------------------

Cls=zeros(MAXIT,1);
Lam=zeros(N,K);
A=A0;
for Nit=1:MAXIT
    
    if ~skipAC
        
        %AC phase   
        for nsw=1:INTLC
            for l=1:Nc
                P=zeros(N);
                for k=1:K
                    D=M(:,:,k);
                    for nc=[1:l-1 l+1:Nc]
                        a=A(:,nc);
                        D=D-Lam(nc,k)*a*conj(a');
                    end
                    P=P+w(k)*Lam(l,k)*conj(D);
                end
                Pgal=[real(P) -imag(P);-imag(P) -real(P)];
                [V S]=eig(Pgal);
                s=real(diag(S));  %the real is needed to ensure
                %proper max operation!
                [vix,mix]=max(s);
                if vix>0
                    gd=V(:,mix);
                    al=gd(1:N)+1j*gd(N+[1:N]);
                    %this makes sure the 1st nonzero
                    %element's real part is positive, to avoid
                    %hopping between sign changes:
                    fnz=find(real(al)~=0);
                    al=al*sign(real(al(fnz(1))));
                    lam=Lam(l,:);
                    f=vix/((lam.*conj(lam))*w);
                    a=al*sqrt(f);
                else
                    a=zeros(N,1);
                end	
                A(:,l)=a;
            end	%sweep
        end		%interlaces
    end			%skip AC
    skipAC=0;
    
    %DC phase
    AtA=A'*A;
    AtA2=AtA.*AtA;
    G=inv(AtA2);
    for k=1:K
        Lam(:,k)=G*diag(A'*M(:,:,k)*conj(A));
        L=diag(Lam(:,k));
        D=M(:,:,k)-A*L*transpose(A);
        Cls(Nit)=Cls(Nit)+w(k)*sum(sum(D.*conj(D)));
    end
    
    if Nit>1
        if abs(Cls(Nit)-Cls(Nit-1))<TOL
            break
        end
    end
    
end
Cls=Cls(1:Nit);

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品自在在线| 六月丁香婷婷久久| 国产精品视频观看| 国产午夜精品久久| 国产精品天美传媒| 亚洲激情图片小说视频| 亚洲精品成人天堂一二三| 一区二区久久久久久| 亚洲地区一二三色| 久久精品国产一区二区三区免费看| 日本不卡在线视频| 老司机精品视频一区二区三区| 精一区二区三区| 国产成人亚洲精品青草天美| 成人黄色电影在线| 日本精品一级二级| 欧美一级理论片| 久久久91精品国产一区二区精品| 国产精品久久夜| 亚洲午夜视频在线| 国产一区二区三区电影在线观看 | 国产精品伦一区| 《视频一区视频二区| 亚洲综合无码一区二区| 久久国产精品露脸对白| 国产成人av一区二区三区在线 | 91丝袜高跟美女视频| 欧洲人成人精品| 精品处破学生在线二十三| 中文字幕欧美三区| 午夜精品久久久| 国内精品免费**视频| a级高清视频欧美日韩| 91精品国产综合久久久久久| 国产午夜精品一区二区三区嫩草| 亚洲一区二区三区国产| 国内精品在线播放| 欧美四级电影在线观看| 国产精品天干天干在观线| 日日夜夜精品视频天天综合网| 国产精品一区二区黑丝| 9191精品国产综合久久久久久| 中文字幕av在线一区二区三区| 亚洲风情在线资源站| 成人av资源网站| 久久午夜色播影院免费高清| 亚洲.国产.中文慕字在线| 成人av网站免费观看| 日韩免费成人网| 国产suv精品一区二区三区| 欧美探花视频资源| 亚洲日本欧美天堂| 大桥未久av一区二区三区中文| 欧美一区二区三区免费视频| 亚洲欧美日本在线| a美女胸又www黄视频久久| 国产人成亚洲第一网站在线播放 | 精品区一区二区| 亚洲777理论| 欧美在线短视频| 亚洲欧洲av在线| 粉嫩高潮美女一区二区三区| 久久亚洲综合色一区二区三区| 免费欧美日韩国产三级电影| 欧美日韩一级大片网址| 亚洲精品国产精华液| 99久久精品国产导航| 国产精品国产精品国产专区不片| 国产宾馆实践打屁股91| 久久久久高清精品| 国产剧情一区二区三区| 久久精品一级爱片| 国产高清无密码一区二区三区| 精品国产一区二区三区不卡| 国产一区二区在线观看视频| 日韩欧美在线观看一区二区三区| 日韩av高清在线观看| 日韩欧美资源站| 精品亚洲国产成人av制服丝袜| 日韩免费一区二区| 精品一区二区三区av| 久久天堂av综合合色蜜桃网| 国产精品 欧美精品| 国产精品久久久一本精品 | 欧美一区二区在线观看| 青青草国产成人99久久| 精品欧美乱码久久久久久 | 一区二区视频在线看| 在线观看免费视频综合| 日韩高清不卡一区二区三区| 日韩女优毛片在线| 成人免费福利片| 亚洲精品自拍动漫在线| 制服.丝袜.亚洲.另类.中文| 蜜臀99久久精品久久久久久软件| 精品国产凹凸成av人导航| 高清成人免费视频| 亚洲午夜电影网| 久久综合久色欧美综合狠狠| 国产iv一区二区三区| 亚洲成人一二三| 国产亚洲欧美在线| 日本精品视频一区二区| 日韩成人av影视| 中文字幕av在线一区二区三区| 欧洲国产伦久久久久久久| 蜜臂av日日欢夜夜爽一区| 国产精品嫩草99a| 欧美精品乱码久久久久久| 国产一区二区三区免费看 | xfplay精品久久| 在线观看免费视频综合| 国产一区二区三区不卡在线观看 | 中文字幕在线免费不卡| 欧美久久婷婷综合色| 欧美日韩国产一区| 国产精品1区2区3区在线观看| 亚洲一区二区在线免费看| 久久久www成人免费无遮挡大片 | 欧美精品电影在线播放| 国产成人精品1024| 三级一区在线视频先锋| 亚洲色图制服诱惑| 久久女同精品一区二区| 欧美日高清视频| 91免费国产在线观看| 国产一区二区久久| 美女mm1313爽爽久久久蜜臀| 一区二区在线观看免费| 国产精品大尺度| 国产日韩精品久久久| 日韩欧美一级二级三级久久久 | 青青草视频一区| 亚洲乱码国产乱码精品精的特点| 精品福利一区二区三区| 欧美日产国产精品| 欧美色网一区二区| 日本韩国一区二区| 99精品视频中文字幕| 成人激情小说网站| 高清国产午夜精品久久久久久| 精品制服美女久久| 久久99精品国产| 秋霞影院一区二区| 久久精品噜噜噜成人av农村| 婷婷亚洲久悠悠色悠在线播放| ●精品国产综合乱码久久久久| 国产精品免费久久| 欧美国产成人精品| 国产精品三级视频| 亚洲三级理论片| 亚洲靠逼com| 亚洲电影第三页| 日韩黄色一级片| 美女看a上一区| 国产伦精一区二区三区| 国产乱淫av一区二区三区 | 亚洲成人在线网站| 亚洲国产精品视频| 日韩va欧美va亚洲va久久| 日韩国产精品91| 韩国一区二区在线观看| 国产高清精品网站| 91麻豆国产在线观看| 欧美日韩在线直播| 日韩一区二区在线看片| 国产亚洲短视频| 亚洲欧美区自拍先锋| 日韩激情av在线| 国产a级毛片一区| 色哟哟国产精品免费观看| 欧美日韩一区二区在线观看 | 蜜臀91精品一区二区三区| 久久机这里只有精品| 国产传媒一区在线| 色偷偷久久一区二区三区| 欧美电影一区二区三区| 国产偷国产偷精品高清尤物 | 国产乱子伦视频一区二区三区| 成人网在线免费视频| 在线亚洲精品福利网址导航| 欧美一区二区播放| 欧美国产激情一区二区三区蜜月| 亚洲美女淫视频| 国产在线精品视频| 91国偷自产一区二区开放时间| 3d成人动漫网站| 国产精品色噜噜| 日本中文在线一区| 色综合久久久久| 精品日韩欧美在线| 伊人性伊人情综合网| 激情综合五月婷婷| 欧美在线你懂得| 26uuuu精品一区二区| 亚洲一区在线看| 成人精品视频一区二区三区尤物| 欧美二区乱c少妇| 亚洲精品日韩专区silk| 久久er精品视频|