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

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

LabVIEW 8.2 Help
August 2006

NI Part Number:
371361B-01

»View Product Info

Member of the spectral analysis class.

Syntax

c = xcorr2(a)

c = xcorr2(a, b)

Description

Computes the two-dimensional cross-correlation of the inputs. xcorr2(a) is equivalent to xcorr2(a, a), which computes the autocorrelation of a.

Examples

Inputs

Name Description
a Specifies a matrix.
b Specifies a matrix.

Outputs

Name Description
c Returns the cross-correlation of a and b.

Examples

A = [1 2; 3 4];
B = [5 6 7; 8 9 10];
C = xcorr2(A, B)

Related Topics

corrcoef
xcorr


Resources


 

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