Created
February 1, 2014 20:02
-
-
Save alaiacano/8757895 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
from pylab import * | |
import scipy.signal as signal | |
fs = 1 # 1 day sampling freq | |
filt = np.ones(7) / 7 | |
w, resp = signal.freqz(filt) | |
plot(w/(2*pi*fs), abs(resp)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment