Main Content
hadamard
Hadamard matrix
Description
H = hadamard(
returns the Hadamard Matrix of order n
) n
.
Examples
Input Arguments
Limitations
An
n
-by-n
Hadamard matrix withn > 2
exists only ifrem(n,4) = 0
. This function handles only the cases wheren
,n/12
, orn/20
is a power of 2.
More About
References
[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.
Extended Capabilities
Version History
Introduced before R2006a