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 CenterFile Exchange에서 Correlation and Convolution에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by