Last chance! 50% off unlimited learning
Sale ends in
hadamard(n)
n
-by-n
of orthogonal colums consisting of
1 and -1 only.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.hankel
, toeplitz
hadamard(4)
H <- hadamard(8)
t(H)
Run the code above in your browser using DataLab