No License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Coherently aligns data

4.0 | 1 rating Rate this file 3 Downloads (last 30 days) File Size: 1 KB File ID: #24051 Version: 1.0

Coherently aligns data



Aligns data according to cross-corr maxima

| Watch this File

File Information

This function treats a matrix as a column-wise set of signals and circularly shifts each column so that it aligns with the first column of data so that the inner product between those columns is maximized with respect to all other shifts.

If only 1 output is specified, then dataout (a matrix the same size as data) is returned.

data: a matrix of data vectors stored column-wise.

y: A matrix size(data) back.
lagout: Optional. A vector of lag indices. These give the amount the column vectors of dataout are shifted with respect to the first
column of data.

MATLAB release MATLAB 7.7 (R2008b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (1)
15 Oct 2014 Felipe Machado

Just one question. Why did you choose to have the signals in columns of a matrix? (At least as I see) It would be better to receive two separate vectors

Contact us