Home > freetb4matlab > signal > xcorr2.m

xcorr2

PURPOSE ^

% C = xcorr2 (A, B)

SYNOPSIS ^

function c = xcorr2(a,b,biasflag)

DESCRIPTION ^

% C = xcorr2 (A, B)
%    Compute the 2D cross-correlation of matrices A and B.
% C = xcorr2 (A)
%      Compute two-dimensional autocorrelation of matrix A.
% C = xcorr2 (..., 'scale')
%      biased   - scales the raw cross-correlation by the maximum number
%                 of elements of A and B involved in the generation of 
%                 any element of C
%      unbiased - scales the raw correlation by dividing each element 
%                 in the cross-correlation matrix by the number of
%                 products A and B used to generate that element 
%      coeff    - normalizes the sequence so that the largest 
%                 cross-correlation element is identically 1.0.
%      none     - no scaling (this is the default).

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 22-May-2009 15:13:00 by m2html © 2003