Calculating correlation coefficients for a series of 1D arrays

3 ビュー (過去 30 日間)
Gary
Gary 2014 年 5 月 13 日
回答済み: the cyclist 2014 年 5 月 13 日
I have a series of 1D arrays, consisting of measurements taken at equally spaced distances (measured in kilometers). What I'm trying to do is to calculate the correlation coefficients for these arrays (or for even just one of them to begin with). But I'm getting no luck so far. After calculating these coefficients I'll then be using them to calculate correlation lengths.
Any help would be gratefully appreciated

回答 (1 件)

the cyclist
the cyclist 2014 年 5 月 13 日
You should be able to combined your 1D arrays (i.e. vectors) into a matrix, and then use the coercoef() command to calculate all the pairwise correlations.
doc coercoef
for details.

カテゴリ

Help Center および File ExchangeCorrelation and Convolution についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by