No BSD License  

Highlights from
Coherently aligns data

Be the first to rate this file! 5 Downloads (last 30 days) File Size: 1 KB File ID: #24051

Coherently aligns data

by Joshua Carmichael

 

08 May 2009

Aligns data according to cross-corr maxima

| Watch this File

File Information
Description

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.
 USAGE:
[dataout,lagout]=xcorAlign(data);

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

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

OUTPUT:
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  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
cross correlation Joshua Carmichael 11 May 2009 10:04:36
signal processing Joshua Carmichael 11 May 2009 10:04:36
array processing Joshua Carmichael 11 May 2009 10:04:36
align Joshua Carmichael 11 May 2009 10:04:36
coherency analysis Joshua Carmichael 11 May 2009 10:04:36
plotting Joshua Carmichael 11 May 2009 10:04:36
cross correlation Jim Hokanson 17 Nov 2009 20:23:52

Contact us at files@mathworks.com