Hadamard matrix
h = hadamard(n)
real scalar. Must be 1, 2 or multiple of 4.
n x n matrix
h = hadamard(n) returns the Hadamard matrix of order n.
The Hadamard matrix is a matrix containing only 1's and -1's whose the columns are orthogonal. The matrix must verify H*H' = n*eye(n,n).
The Hadamard matrix is based on several tools: Sylvester's construction (construction by iteration used Kronecker product) and Paley's construction I and II.
| Version | Description |
| 2025.1.0 | Introduction in Scilab. |