hadamard (MathScript RT Module Function)

LabVIEW 2012 MathScript RT模块帮助

版本日期:June 2012

产品编号:373123C-0118

»查看产品信息
下载帮助
(仅限Windows)

Owning Class: matrix

Requires: MathScript RT Module

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.

Details

The following table lists the support characteristics of this function.

Supported in the LabVIEW Run-Time Engine Yes
Supported on RT targets Yes
Suitable for bounded execution times on RT Not characterized

Examples

H = hadamard(4)

文章是否对您有帮助?

没有帮助