Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

corrmx (MathScript RT Module Function)

LabVIEW 2012 MathScript RT Module Help

Edition Date: June 2012

Part Number: 373123C-01

»View Product Info
Download Help (Windows Only)

Owning Class: spectral analysis

Requires: MathScript RT Module

Syntax

a = corrmx(x, m)

a = corrmx(x, m, s)

[a, r] = corrmx(x, m)

[a, r] = corrmx(x, m, s)

Legacy Name: corrmtx

Description

Creates a Toeplitz matrix a, such that a'*a is an estimate of the autocorrelation matrix for x.

Examples

Inputs

Name Description
x Specifies an input signal. x is a real or complex vector.
m Specifies the order of the output matrix. m is an integer.
s Specifies how to create the output matrix. s accepts the following values.

'autocorrelation' (default) LabVIEW uses a standard approach with windowing at both sides.
'prewindowed' LabVIEW uses windowing at the beginning.
'postwindowed' LabVIEW uses windowing at the end.
'covariance' LabVIEW does not use windowing.
'modified' LabVIEW uses the more advanced covariance method.

Outputs

Name Description
a Returns the Toeplitz matrix.
r Returns the autocorrelation matrix estimate, a'*a.

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

A = 1:10;
X = corrmx(A, 5)

Related Topics

corrcoeff
crosscorr


 

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