# How Many Samples Are Identical In Linear and Circular Convolution Result?

Suppose we have two sequences $x[n]$ of length $L$ , and $y[n]$ of length $P$. If we are doing a $L$ length circular convolution between the two sequences ($L>P$), how many of the resultant samples will be uncorrupted, i.e. same as linear convolution values ?

I think by intuition it should be $P-1$, but I'm not sure.

assuming $y[n]$ is padded with $L-P$ zeros (to make it the same length as $x[n]$ and your circular convolution length), then the number uncorrupted samples is $L-P+1$.