View source: R/hadamardMatrix.R
| hadamardMatrix | R Documentation |
n using
pracma::hadamard().Constructs a Hadamard matrix of order n using
pracma::hadamard().
hadamardMatrix(n)
n |
A positive integer specifying the order of the matrix. |
A Hadamard matrix contains only +1 and -1, and its rows
are mutually orthogonal. The supported orders are of the
forms 2^e, 12(2^e), and 20(2^e).
A Hadamard matrix of order n.
hadamardMatrix(4)
hadamardMatrix(8)
hadamardMatrix(12)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.