Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import numpy as np
- array1 = np.random.rand(100)
- array2 = np.random.rand(100)
- conv = np.convolve(array1, array2, mode='same')
- import numpy as np
- array1 = np.random.rand(100)
- array2 = np.random.rand(100)
- conv = np.convolve(array1, array2, mode='full')[:100]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement