Hi Will (or anyone else who knows),
I am doing the homework in Python and have the following as a solution for 1/2 Nyquist. This is adding another delay (2 samples) in addition to the one sample delay which seems to work very well. However, when trying to use the same idea for 1/4 Nyquist, I found that it does not seem to translate well. That is, having 4 delay likes (each one more sample in time more than the last) is perhaps not the real solution after all. Can you give me any advice?
x = wpf.halfNyq()
y = np.full_like(x,0,dtype=float)
a0, a1 = 0.5, 0.5
xn1, xn2 = 0.0, 0.0
y[n] = a0 * x[n] + a1 * xn2
xn2 = xn1
xn1 = x[n]
Thank you very much! So far, the book is really great!
Most Users Ever Online: 152
Currently Browsing this Page:
Guest Posters: 1
Newest Members:Niklas, Wutru, Tim Campbell, Danny Jonel, Valentin, joelr, PseudoSpaceMusic, duo.dirtykidz, Paul, Reakenzo
Moderators: W Pirkle: 569
Administrators: Tom: 74, JD Young: 80, Will Pirkle: 0, W Pirkle: 569, VariableCook: 3