为B
y2i26t02j1
y2i16t02j0
e
dB1更新B
else如果前一个脉冲为负脉冲,输出一个正的V脉冲,这时取代节是
B00V
forj1t02
y2i2t02j1
y2i1t02j0
e
dforj1t02
调整往前数第三个符号为B
y2i26t02j1
y2i16t02j0
e
dB1
更新B
e
d
e
dbcou
t0ou
t清零zerocou
t0ou
t清零else如果不是4连零,直接输出0
forj1t0
yi1t0j0
e
d
e
d
e
d
fe
de
dforNle
gthytempyNyytempplottyaxis0i1111
x10110000000110000001
fr