Hadamard matrix
H = hadamard(
returns the Hadamard Matrix of order n
) n
.
An n
-by-n
Hadamard matrix with
n > 2
exists only if rem(n,4) = 0
.
This function handles only the cases where n
,
n/12
, or n/20
is a power of 2.
[1] Ryser, Herbert J. Combinatorial Mathematics. Mathematical Association of America, 1963.
[2] Pratt, William K. Digital Signal Processing. New York, NY: John Wiley and Sons, 1978.