CELLDOT Dot product for arrays of column vectors. P=CELLDOT(X,Y), with X and Y being cell arrays of column vectors, returns a column vector P of length LENGTH(X), such that the nth element of P is given by P(n)=SUM(X{n}.*CONJ(Y{n})). Note that this dot product is defined to conjugate the second input argument, unlike Matlab's DOT which conjugates the first argument. P=CELLDOT(X,Y,'norm') normalizes the magnitude of dot product to be between zero and one. This is done by dividing the nth element by SQRT(SUM(ABS(X{n}).^2).*SUM(ABS(Y{n}).^2)). CELLDOT uses 'omitnan' to exclude any NaNs from the summation. Usage: p=celldot(x,y); p=celldot(x,y,'norm'); __________________________________________________________________ This is part of JLAB --- type 'help jlab' for more information (C) 2019 J.M. Lilly --- type 'help jlab_license' for details