In mathematics, a Walsh matrix is a specific square matrix with dimensions of some power of 2, entries of +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.