h=lxcorr(f,g)
lxcorr(f) computes the linear crosscorrelation of the input signal f and g. The linear cross-correlation is computed by
with \(L_{h} = L_{f} + L_{g} - 1\) where \(L_{f}\) and \(L_{g}\) are the lengths of f and g, respectively.
lxcorr(f,'normalize') does the same, but normalizes the output by the product of the \(l^2\)-norm of f and g.