汉明距离和 CRC

发布于 2024-09-06 02:59:40 字数 83 浏览 1 评论 0原文

如何求某个CRC生成的代码的汉明距离?

假设我有一个 4 位和 11 位数据的生成多项式。

如何仅根据这些信息计算HD?

How to find the Hamming distance of a code generated by a certain CRC?

Assume that I have a generating polynomial of order, say, 4 and 11 bits of data.

How to compute the HD basing only on these information?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

毁梦 2024-09-13 02:59:40

您应该能够用零填充结果,使两个值的长度均为 11 位。对两个位串进行异或运算并进行计数应该会产生数据集的汉明距离。

希望这有帮助...

You should be able to pad your results with zeros making both values 11bits long. Computing an XOR on the two bit strings and counting the ones should yield the hamming distance for your data set.

Hope this helps...

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文