Convolution with wrap around
C = convw(A, B)
convw(A, B) computes the one-dimensional convolution of A and B with wrap around. Unlike the standard convolution implemented by the conv function, the result from this function matches that which would be obtained by a Fourier domain product, that is it treats the input as if extended periodically.
To supply left and right coefficients, use the calling profile convw{L,R},B) where L and R are vectors of the same length and orientation. If the first parameter is not a cell array, it is taken to be a left coefficient and the right coefficient array is implicitly ones.