HadamardMatrix

HadamardMatrix[n]
returns an n×n Hadamard matrix.

Details and OptionsDetails and Options

  • Each entry Hrs of the Hadamard matrix is by default defined as , where , is the ^(th) bit in the binary representation of the integer , and .
  • Rows or columns of the HadamardMatrix are basis sequences of the DiscreteHadamardTransform.
  • A Hadamard matrix is its own inverse.  »
  • The following options are supported:
  • MethodAutomaticspecifies the sequency ordering method
    WorkingPrecisionthe precision with which to compute matrix elements
  • Possible method settings are: "BitComplement", "Sequency".

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

A Hadamard matrix:

In[1]:=
Click for copyable input
Out[1]//MatrixForm=

The Hadamard's basis sequences of length 128:

In[1]:=
Click for copyable input
Out[1]=
Introduced in 2012
(9.0)
| Updated in 2014
(10.0)
Translate this page: