深色模式
Download exercise.py
实现 syndrome_pos(s0, s1, s2) = s0 + 2*s1 + 4*s2。三个校验比特合成 1-index 错误位置;0 表示无错。
syndrome_pos(s0, s1, s2) = s0 + 2*s1 + 4*s2
cd docs/information/channel-coding/code python exercise.py
clone 后打开(相对仓库根目录):
docs/information/channel-coding/code/exercise.py