Math 2.0

Harmonic analysis on Euclidean spaces Definition

Walsh–Hadamard transform

Builds on Hadamard matrixKronecker product

Definition

Let m≥0m \ge 0 and N=2mN = 2^m. Let H0=(1)H_0 = (1), and for m≥1m \ge 1 let Hm=H1⊗Hm−1H_m = H_1 \otimes H_{m-1}, where ⊗\otimes is the Kronecker product and H1=(111−1).H_1 = \begin{pmatrix} 1 & 1 \\ 1 & -1 \end{pmatrix}. The Walsh–Hadamard transform of a vector x∈ℂNx \in \C^N is the vector Hmx∈ℂNH_m x \in \C^N. Index rows and columns by 0,…,N−10, \dots, N-1. Then (Hm)jk=(−1)j⋅k(H_m)_{jk} = (-1)^{j \cdot k}, where j⋅kj \cdot k counts the positions where the binary expansions of jj and kk both have the digit 11.

Remarks

HmH_m is a symmetric Hadamard matrix of order NN, so Hm2=NIH_m^2 = N I and the inverse transform is x=N−1Hm(Hmx)x = N^{-1} H_m (H_m x). Many authors use the normalized matrix N−1/2HmN^{-1/2} H_m, which is orthogonal and its own inverse. Writing xx as two halves x=(x′,x′′)x = (x', x''), one has Hmx=(Hm−1(x′+x′′),Hm−1(x′−x′′))H_m x = (H_{m-1}(x' + x''), H_{m-1}(x' - x'')); iterating this gives the fast transform with mNm N additions and subtractions.

Example: for m=2m = 2, H2=(11111−11−111−1−11−1−11),H_2 = \begin{pmatrix} 1 & 1 & 1 & 1 \\ 1 & -1 & 1 & -1 \\ 1 & 1 & -1 & -1 \\ 1 & -1 & -1 & 1 \end{pmatrix}, and x=(1,0,0,0)x = (1, 0, 0, 0) goes to (1,1,1,1)(1, 1, 1, 1), while x=(1,1,1,1)x = (1, 1, 1, 1) goes to (4,0,0,0)(4, 0, 0, 0). Check of one entry: (H2)3,3=(−1)2=1(H_2)_{3,3} = (-1)^{2} = 1, since 3=1123 = 11_2 shares two digits 11 with itself.

Non-example: the discrete Fourier transform matrix (e−2πijk/4)j,k(e^{-2\pi i jk/4})_{j,k} of order 44 has entries ±i\pm i, so it is not H2H_2, although its rows are also orthogonal.

Reading path

To understand this page from the ground up, read these 3 pages in order. The foundations come first.

Show the path as a graph
Each page uses the pages above it. The colour of the bar on a box shows how strong the evidence is, and the box also gives it as text. The list has the same pages.
  • no evidence level
  1. Hadamard matrix concept
  2. Kronecker product concept
  3. Walsh–Hadamard transform definition

Further reading

  1. Web https://en.wikipedia.org/wiki/Hadamard_transform
About this page
Tag3BTA41B7M1
URIm2://3BTA41B7M1
Kinddefinition
WritingW0 stub
MSC42C10, 65T50, 94A12
DefinesWalsh–Hadamard transform
UsesHadamard matrix, Kronecker product

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • a source with a locator (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.