「Hamming(7,4)」を編集中

移動先: 案内検索

警告: ログインしていません。編集を行うと、あなたの IP アドレスが公開されます。ログインまたはアカウントを作成すれば、あなたの編集はその利用者名とともに表示されるほか、その他の利点もあります。

この編集を取り消せます。 下記の差分を確認して、本当に取り消していいか検証してください。よろしければ変更を保存して取り消しを完了してください。
最新版 編集中の文章
75行目: 75行目:
 
したがって、パリティビットカバレッジを正しく選択することにより、ハミング距離が1であるすべてのエラーを検出して修正することができます。これはハミングコードを使用する点です。
 
したがって、パリティビットカバレッジを正しく選択することにより、ハミング距離が1であるすべてのエラーを検出して修正することができます。これはハミングコードを使用する点です。
  
 
+
== Hamming matrices ==
==ハミング行列==
+
Hamming codes can be computed in [[linear algebra]] terms through [[matrix (mathematics)|matrices]] because Hamming codes are [[linear code]]s. For the purposes of Hamming codes, two '''Hamming matrices''' can be defined: the '''code [[generator matrix]]''' '''G''' and the '''[[parity-check matrix]]''' '''H''':
ハミングコードは[[線形代数]]であるので、[[行列(数学)|行列]を通じて[[線形代数]]項でハミングコードを計算することができます。ハミングコードの目的のために、2つのハミング行列を定義することができます:コード[[生成行列]] '' '' 'G' '''['チェックマトリックス]] '' '' 'H' ''
 
  
 
:<math>\mathbf{G} := \begin{pmatrix}
 
:<math>\mathbf{G} := \begin{pmatrix}
100行目: 99行目:
 
* ''p''<sub>2</sub> covers ''d''<sub>1</sub>, ''d''<sub>3</sub>, ''d''<sub>4</sub>
 
* ''p''<sub>2</sub> covers ''d''<sub>1</sub>, ''d''<sub>3</sub>, ''d''<sub>4</sub>
 
* ''p''<sub>3</sub> covers ''d''<sub>2</sub>, ''d''<sub>3</sub>, ''d''<sub>4</sub>
 
* ''p''<sub>3</sub> covers ''d''<sub>2</sub>, ''d''<sub>3</sub>, ''d''<sub>4</sub>
残りの行(3、5、6、7)は、符号化された形式でデータをその位置にマップし、その行には1だけしか存在しないため、同一のコピーです。実際、これらの4つの行は[[線形独立]]であり、[恒等行列]を形成する(設計上、偶然ではない)。
+
The remaining rows (3, 5, 6, 7) map the data to their position in encoded form and there is only 1 in that row so it is an identical copy. In fact, these four rows are [[linearly independent]] and form the [[identity matrix]] (by design, not coincidence).
  
また、前述したように、 '' 'H' ''の3つの行はよく知られているはずです。これらの行は、受信側でシンドロームベクトル '' 'を計算するために使用され、シンドロームベクトルが[ヌルベクトル(ベクトル空間)|ヌルベクトル]](すべてゼロ)である場合、受信されたワードは、無料;非ゼロの場合、値は反転されたビットを示します。
+
Also as mentioned above, the three rows of '''H''' should be familiar. These rows are used to compute the '''syndrome vector''' at the receiving end and if the syndrome vector is the [[null vector (vector space)|null vector]] (all zeros) then the received word is error-free; if non-zero then the value indicates which bit has been flipped.
  
4つのデータビット。ベクトル '' 'p' ''としてアセンブルされます。は、G '' '(すなわち、' '' Gp '' ')によって事前に乗算され、[[モジュロ演算|モジュロ]] 2とされて、送信される符号化値が得られる。元の4データビットは、上記のデータビットのカバレッジを使用して偶数パリティを保証するために3つのパリティビットが追加された7ビット(したがって、名前「Hamming(7,4)」に変換されます。上の最初の表は、各データとパリティビットの最終ビット位置(1〜7)へのマッピングを示していますが、これも[Venn図]で表示できます。この記事の最初の図は、3つの円(各パリティビットごとに1つ)を示し、各パリティビットがカバーするデータビットを囲みます。 2番目の図(右側に示す)は同じですが、代わりにビット位置がマークされています。
+
The four data bits — assembled as a vector '''p''' — is pre-multiplied by '''G''' (i.e., '''Gp''') and taken [[Modulo operation|modulo]] 2 to yield the encoded value that is transmitted. The original 4 data bits are converted to seven bits (hence the name "Hamming(7,4)") with three parity bits added to ensure even parity using the above data bit coverages. The first table above shows the mapping between each data and parity bit into its final bit position (1 through 7) but this can also be presented in a [[Venn diagram]]. The first diagram in this article shows three circles (one for each parity bit) and encloses data bits that each parity bit covers. The second diagram (shown to the right) is identical but, instead, the bit positions are marked.
  
このセクションの残りの部分では、次の4ビット(列ベクトルとして示される)が実行例として使用されます。
+
For the remainder of this section, the following 4 bits (shown as a column vector) will be used as a running example:
 
: <math>\mathbf{p} = \begin{pmatrix} d_1 \\ d_2 \\ d_3 \\ d_4 \\ \end{pmatrix} = \begin{pmatrix} 1 \\ 0 \\ 1 \\ 1 \end{pmatrix}</math>
 
: <math>\mathbf{p} = \begin{pmatrix} d_1 \\ d_2 \\ d_3 \\ d_4 \\ \end{pmatrix} = \begin{pmatrix} 1 \\ 0 \\ 1 \\ 1 \end{pmatrix}</math>
  

tezos-wikiへの投稿はすべて、a Creative Commons Attribution-ShareAlike 3.0 License (詳細はTezos-wiki:著作権を参照)のもとで公開したと見なされることにご注意ください。 自分が書いたものが他の人に容赦なく編集され、自由に配布されるのを望まない場合は、ここに投稿しないでください。
また、投稿するのは、自分で書いたものか、パブリック ドメインまたはそれに類するフリーな資料からの複製であることを約束してください。 著作権保護されている作品は、許諾なしに投稿しないでください!

取り消し | 編集の仕方 (新しいウィンドウで開きます)