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

corrmx (MathScript RT Module Function)

LabVIEW 2010 Help

Edition Date: June 2010

Part Number: 371361G-01

»View Product Info

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.

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