Table Of Contents

hadamard

Version:
    Last Modified: March 15, 2017

    Generates a Hadamard matrix.

    Syntax

    h = hadamard(n)

    Inputs

    n

    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.

    Outputs

    h

    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)

    Where This Node Can Run:

    Desktop OS: Windows

    FPGA: This product does not support FPGA devices


    Recently Viewed Topics