Member of the matrix class.
h = hadamard(n)
Generates a Hadamard matrix.
| Name | Description |
| n | Specifies the size of the Hadamard matrix you want to generate. n must be a power of 2, a power of 2 multiplied by 12, or a power of 2 multiplied by 20. n is a positive integer scalar. |
| Name | Description |
| h | Returns a Hadamard matrix of size n. h is a square matrix with elements of 1 and -1. All columns or rows are orthogonal to each other. |
H = hadamard(4)