Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

hadamard (MathScript Function) (Windows, Not in Base Package)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Member of the matrix class.

Syntax

h = hadamard(n)

Description

Generates a Hadamard matrix.

Examples

Inputs

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.

Outputs

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.

Examples

H = hadamard(4)


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit