the number of independent components in ICA is determined from the Durbin-Watson criterium
res=ica_dwresiduals(x,n_ics,(options));
a matrix (n x q) or a Div structure
maximum number of independent components
an optional structure containing the following fields:
options.center: 1 for centering, 0 for no centering (by default)
options.method: choice among: 'tall','wide','kernel','comdim' or 'normal' (by default)
options.partitions: an integer; for 'tall','wide' and 'comdim' methods only (by default = 1)
options.plot: 0 = no plotting (by defautl); 1 = lowest correlations; 2 = all
all the Durbin-Watson values
res.all_dw.d is a matrix of dimensions (n_ics x n)
the means of the rows of res.all_dw.d
res.mean_all_dw.d is a vector of dimensions (n_ics x 1)
the residues; a list of n_ics Div structures
res.residus(i).d is a matrix of dimensions (n x q)