In mathematics, a Walsh matrix is a specific square matrix, with dimensions a power of 2, the entries of which are +1 or −1, and the property that the dot product of any two distinct rows (or columns) is zero. The Walsh matrix was proposed by Joseph L. Walsh in 1923. Each row of a Walsh matrix corresponds to a Walsh function.
The natural ordered Hadamard matrix is defined by the recursive formula below, and the sequency ordered Hadamard matrix is formed by rearranging the rows so that the number of sign-changes in a row is in increasing order. Confusingly, different sources refer to either matrix as the Walsh matrix.
The Hadamard matrices of dimension 2k for k ∈ N are given by the recursive formula
The lowest order of Hadamard matrix is 2
and in general
for 2 ≤ k ∈ N, where denotes the Kronecker product.
Sequency ordering 
where the successive rows have 0, 1, 2, and 3 sign changes.
See also 
|Wikimedia Commons has media related to: Walsh matrix|