Skip to content

Commit f3b9789

Browse files
committed
changed random distribution to sawtooth
1 parent 5372836 commit f3b9789

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contents/convolutions/convolutional_theorem/code/python/convolutional_theorem.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ def convolve_fft(signal1, signal2):
66
return ifft(np.multiply(fft(signal1),fft(signal2)))
77

88
# Random distribution in x
9-
x = np.random.rand(100)
9+
x = [float(i)/200 for i in range(1,101)]
1010

1111
# Gaussian signals
1212
y = [np.exp(-((i-50)/100)**2/.01) for i in range(1,101)]

0 commit comments

Comments
 (0)