function [F,delta]=aci(Y) % Comon, version 6 march 92 % English comments added in 1994 % [F,delta]=aci(Y) % Y is the observations matrix % This routine outputs a matrix F such that Y=F*Z, Z=pinv(F)*Y, % and components of Z are uncorrelated and approximately independent % F is Nxr, where r is the dimension Z; % Entries of delta are sorted in decreasing order; % Columns of F are of unit norm; % The entry of largest modulus in each column of F is positive real. % Initial and final values of contrast can be fprinted for checking. % REFERENCE: P.Comon, "Independent Component Analysis, a new concept?", % Signal Processing, Elsevier, vol.36, no 3, April 1994, 287-314. % [N,TT]=size(Y);T=max(N,TT);N=min(N,TT); if TT==N, Y=Y';[N,T]=size(Y);end; % Y est maintenant NxT avec N