minor code changes

This commit is contained in:
zymon 2024-05-19 18:17:00 +02:00
parent a085cd0ca2
commit d2c60c8cba

View file

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