cross_corr

Version 1.0.1 (1.85 KB) by Xufeng Lin
CROSS_CORR calculates the normalized cross-correlation (NCC) between column vectors pairwisely
177 Downloads
Updated 28 Jul 2018

View License

- NCC = cross_corr(X, Y, isNormalized, isMeaned) Computes the NCC between
column vectors of X and Y pairwisely

Both X and Y are matrices with each column representing a sample. X and Y should have the same
number of rows. Suppose the size of X is d x nx, and the size of Y is d x ny. Then the output matrix ncc will be of size nx x ny, in which NCC(i, j) is the NCC value between X(:,i) and Y(:,j). The other two parameters isNormalized and isMeaned indicate if each column has been normalized or zero-meaned, which can be used for speeding up the calculation.

Cite As

Xufeng Lin (2024). cross_corr (https://www.mathworks.com/matlabcentral/fileexchange/68295-cross_corr), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2017a
Compatible with R2014a to R2018a
Platform Compatibility
Windows macOS Linux
Categories
Find more on Specification Testing in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.1

update examples

1.0.0