conv(a, b)

Calculate the convolution of two arrays.

aInput array 1.
bInput array 2.
return valueThe convolution of the two inputs.

The input arrays a and b can be any mathematical objects that can be multiplied and then added together.

This function is also used to calculate the product of polynomials represented by arrays (vectors).