<< floor Elementary functions hankel >>

hadamard


Hadamard matrix


Syntax


H = hadamard(n)
H = hadamard(n, classname)

Input argument


n

scalar integer value: order.

classname

row character vector or scalar string: class name desired ('double' by default).

Output argument


H

Hadamard Matrix.

Description


H = hadamard(n) returns the Hadamard Matrix of order n.

Bibliography


https://en.wikipedia.org/wiki/Hadamard_matrix , https://mathworld.wolfram.com/HadamardMatrix.html

Example


H = hadamard(4)

See also


hankel, toeplitz.

History


Version Description
1.0.0 initial version

Author


Allan CORNET

<< floor Elementary functions hankel >>