mirror of
https://github.com/brendanhaines/ECEN5458_Project.git
synced 2024-12-26 10:57:55 -07:00
fix order of taps
This commit is contained in:
parent
29e75a6b5f
commit
a4b7ad84c6
|
@ -110,6 +110,9 @@ def controller():
|
||||||
iir_taps = np.append(D.num[1:], 0)
|
iir_taps = np.append(D.num[1:], 0)
|
||||||
fir_taps = np.append(D.num, 0)
|
fir_taps = np.append(D.num, 0)
|
||||||
fir_taps = np.concatenate([np.zeros(len(iir_taps)-len(fir_taps) + 1), fir_taps])
|
fir_taps = np.concatenate([np.zeros(len(iir_taps)-len(fir_taps) + 1), fir_taps])
|
||||||
|
|
||||||
|
iir_taps = np.flip(iir_taps)
|
||||||
|
fir_taps = np.flip(fir_taps)
|
||||||
# fir_taps = [1, 0, 0]
|
# fir_taps = [1, 0, 0]
|
||||||
# iir_taps = [0, 0]
|
# iir_taps = [0, 0]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user