I want to convolve two same-dimension matrices using numpy. According to the example on wikipedia this is a possible operation.
import numpy as np
f = np.array([[45, 60, 98],
[46, 65, 98],
[47, 65, 96]])
h = np.array([[ 0.1, 0.1, 0.1],
[ 0.1, 0.2, 0.1],
[ 0.1, 0.1, 0.1]])
print np.convolve(f,h)
Why am I getting this error?