This commit is contained in:
zymon 2024-05-19 20:33:25 +02:00
parent d2c60c8cba
commit 1fa4a5271d

View file

@ -52,7 +52,7 @@ function AllenBerkley_highpass100(x, fs)
B2 = -R1 * R1 B2 = -R1 * R1
A1 = -(1+R1) A1 = -(1+R1)
for i = 1:eachindex(x) for i = eachindex(x)
Y[3] = Y[2] Y[3] = Y[2]
Y[2] = Y[1] Y[2] = Y[1]
Y[1] = B2*Y[3] + B1*Y[2] + x[i] Y[1] = B2*Y[3] + B1*Y[2] + x[i]